Arma 3 Scripting

BIS_fnc_commsMenuToggleVisibility

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

Description

Shows or hides certain sections of the global communications menu.

Syntax

syntax inferred from the function header

[index, mode] call BIS_fnc_commsMenuToggleVisibility

Parameters:

Returns: Success flag (Boolean)

Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

/*
File: fn_commsMenuToggleVisibility.sqf

Description:
Shows or hides certain sections of the global communications menu.

Parameter(s):
_this select 0: index (Scalar) or list of indices (Array of Scalars) or section name (String)
    "som" - SecOps section
    "wf" - Warfare section
_this select 1: mode (Scalar)
    0 - hide
    1 - show

Returns:
Success flag (Boolean)
*/