Arma 3 Scripting

Function in Communication Menu

BIS_fnc_commsMenuToggleVisibility

Also available as Markdown and JSON, or read the 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)
*/