allDisplays: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
BrettMayson (talk | contribs) mNo edit summary |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 10: | Line 10: | ||
{{Feature | informative | Other displays could be accessed via [[uiNamespace]] variable which is updated every time a display is opened or closed. | {{Feature | informative | Other displays could be accessed via [[uiNamespace]] variable which is updated every time a display is opened or closed. | ||
For example, to access IGUI displays: | For example, to access IGUI displays: | ||
< | <sqf>private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];</sqf> | ||
Other display variables: | Other display variables: | ||
| Line 30: | Line 30: | ||
|s1= [[allDisplays]] | |s1= [[allDisplays]] | ||
|r1= [[Array]] of | |r1= [[Array]] of [[Display]]s | ||
|x1= <sqf>private _allDisps = allDisplays;</sqf> | |x1= <sqf>private _allDisps = allDisplays;</sqf> | ||
Latest revision as of 10:17, 1 January 2026
Description
- Description:
- Returns a list of all opened GUI displays.
- Groups:
- GUI Control
Syntax
- Syntax:
- allDisplays
- Return Value:
- Array of Displays
Examples
- Example 1:
Additional Information
- See also:
- allControls findDisplay controlsGroupCtrl ctrlCreate allVariables allCurators allGroups allDead allDeadMen
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note