allControls: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (versions)
Line 14: Line 14:
|r1= [[Array]] of [[Control]]s
|r1= [[Array]] of [[Control]]s


|s2= [[allControls]] controlsGroup ({{Since|arma3|2.03}})
|s2= [[allControls]] controlsGroup ({{Since|arma3|2.04|y}})


|p21= controlsGroup: [[Control]] - [[CT_CONTROLS_GROUP]]
|p21= controlsGroup: [[Control]] - [[CT_CONTROLS_GROUP]]

Revision as of 15:38, 19 June 2021

Hover & click on the images for description

Description

Description:
Returns a list of all controls for desired existing display. Returned controls also include controls from CT_CONTROLS_GROUPs.
Groups:
GUI Control

Syntax

Syntax:
allControls display
Parameters:
display: Display
Return Value:
Array of Controls

Alternative Syntax

Syntax:
allControls controlsGroup (Template:Since)
Parameters:
controlsGroup: Control - CT_CONTROLS_GROUP
Return Value:
Array of Controls

Examples

Example 1:
_allCtrls = allControls findDisplay 46;
Example 2:
_allSubCtrls = allControls _myControlsGroup;

Additional Information

See also:
allDisplayscontrolsGroupCtrlctrlCreateallVariablesallCuratorsallGroupsallDeadallDeadMen

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note