Arma 3 Scripting

Command in GUI Control

allControls

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns a list of all controls in the provided display or controls group, including "sub"-controls from other CT_CONTROLS_GROUPs.

Syntax

Syntax 1

allControls display

Parameters:

Returns: Array of Controls

Syntax 2

since arma3 2.04

allControls controlsGroup

Parameters:

Returns: Array of Controls

Examples

Example 1

_allCtrls = allControls findDisplay 46;

Example 2

_allSubCtrls = allControls _myControlsGroup;

See also

allDisplays · controlsGroupCtrl · ctrlCreate · allVariables · allCurators · allGroups · allDead · allDeadMen