allControls: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
(Some tweaks) |
||
Line 7: | Line 7: | ||
|gr1= GUI Control | |gr1= GUI Control | ||
|descr= Returns a list of all controls for desired existing display. Returned controls also include controls from | |descr= Returns a list of all controls for desired existing display. Returned controls also include controls from [[CT_CONTROLS_GROUP]]s. | ||
|s1= [[allControls]] display | |s1= [[allControls]] display | ||
Line 15: | Line 15: | ||
|r1= [[Array]] of [[Control]]s | |r1= [[Array]] of [[Control]]s | ||
|s2= [[allControls]] | |s2= [[allControls]] controlsGroup ({{Since|arma3|2.03}}) | ||
|p21= | |p21= controlsGroup: [[Control]] - [[CT_CONTROLS_GROUP]] | ||
|r2= [[Array]] of [[Control]]s | |r2= [[Array]] of [[Control]]s |
Revision as of 20:41, 3 February 2021
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
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