allDisplays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]*)\{\{=\}\}([^<]*)<\/code>" to "<code>$1=$2</code>")
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:
<code>private _iguiDisplays {{=}} uiNamespace getVariable ["IGUI_displays", []];</code>
<code>private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];</code>


Other display variables:
Other display variables:

Revision as of 09:43, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns a list of all opened GUI displays.
Groups:
GUI Control

Syntax

Syntax:
allDisplays
Return Value:
Array of GUI Displays

Examples

Example 1:
private _allDisps = allDisplays;

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 or on the Forums.
Only post proven facts here! Add Note