BIS_fnc_commsMenuToggleAvailability
- Arma 3 v0.50
- First in Arma 2 v1.00
Function · Markdown · JSON · original wiki page
Description
Enables or disables certain sections of the global communications menu.
Syntax
syntax inferred from the function header
[index, mode] call BIS_fnc_commsMenuToggleAvailability
Parameters:
index— 0: (Scalar) or list of indices (Array of Scalars) or section name (String) "som" - SecOps section "wf" - Warfare sectionmode— 1: (Scalar) 0 - disable 1 - enable
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_commsMenuToggleAvailability.sqf
Description:
Enables or disables 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 - disable
1 - enable
Returns:
Success flag (Boolean)
*/