allDisplays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Fix)
Line 11: Line 11:
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:
Line 26: Line 25:
* <tt>"Loading_displays"</tt>
* <tt>"Loading_displays"</tt>
}}
}}
}}


|s1= [[allDisplays]]
|s1= [[allDisplays]]

Revision as of 22:20, 5 August 2021

Hover & click on the images for description

Description

Description:
Returns a list of all opened GUI displays.
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: private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];

Other display variables:

  • "3DENDisplaysTemp_displays"
  • "3DENDisplays_displays"
  • "BootcampDisplays_displays"
  • "BootcampTitles_displays"
  • "CuratorDisplays_displays"
  • "CuratorTitles_displays"
  • "GUI_displays"
  • "IGUI_displays"
  • "KartDisplays_displays"
  • "Loading_displays"
Groups:
GUI Control

Syntax

Syntax:
allDisplays
Return Value:
Array of GUI Displays

Examples

Example 1:
private _allDisps = allDisplays;

Additional Information

See also:
allControlsfindDisplaycontrolsGroupCtrlctrlCreateallVariablesallCuratorsallGroupsallDeadallDeadMen

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