allControls: Difference between revisions
Jump to navigation
Jump to search
(added new syntax and code cleaning) |
Lou Montana (talk | contribs) m (Text replacement - "{{since" to "{{Since") |
||
Line 15: | Line 15: | ||
|r1= [[Array]] of [[Control]]s | |r1= [[Array]] of [[Control]]s | ||
|s2= [[allControls]] control ({{ | |s2= [[allControls]] control ({{Since|arma3|2.03}}) | ||
|p21= control: [[Control]] | |p21= control: [[Control]] |
Revision as of 19:34, 11 January 2021
Description
- Description:
- Returns a list of all controls for desired existing display. Returned controls also include controls from control groups
- Groups:
- GUI Control
Syntax
- Syntax:
- allControls display
- Parameters:
- display: Display
- Return Value:
- Array of Controls
Alternative Syntax
- Syntax:
- allControls control (Template:Since)
- Parameters:
- control: Control
- Return Value:
- Array of Controls
Examples
- Example 1:
_allCtrls = allControls findDisplay 46;
- Example 2:
_allSubCtrls = allControls _myControlsGroup;
Additional Information
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