allDisplays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Some wiki formatting)
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.38
| 1.38


|gr1= GUI Control
|gr1= GUI Control


| Returns a list of all opened GUI displays. Other displays, such as IGUI displays could be accessed via [[uiNamespace]] variable, which is updated every time display is opened or closed. For example, to access IGUI displays:
|descr= Returns a list of all opened GUI displays.
<code>[[uiNamespace]] [[getVariable]] ["IGUI_displays", []];</code>. Other display variables:
* <tt>3DENDisplays_displays</tt>
* <tt>3DENDisplaysTemp_displays</tt>
* <tt>GUI_displays</tt>
* <tt>IGUI_displays</tt>
* <tt>Loading_displays</tt>
* <tt>CuratorDisplays_displays</tt>
* <tt>BootcampDisplays_displays</tt>
* <tt>CuratorTitles_displays</tt>
* <tt>BootcampTitles_displays</tt>
* <tt>KartDisplays_displays</tt>


{{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:
<sqf>private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];</sqf>


| '''allDisplays'''
Other display variables:
{{Columns|4|
* {{hl|"3DENDisplaysTemp_displays"}}
* {{hl|"3DENDisplays_displays"}}
* {{hl|"BootcampDisplays_displays"}}
* {{hl|"BootcampTitles_displays"}}
* {{hl|"CuratorDisplays_displays"}}
* {{hl|"CuratorTitles_displays"}}
* {{hl|"GUI_displays"}}
* {{hl|"IGUI_displays"}}
* {{hl|"KartDisplays_displays"}}
* {{hl|"Loading_displays"}}
}}
}}


|p1=


| [[Array]] of GUI [[Display]]s
|s1= [[allDisplays]]


| x1= <code>_allDisps = [[allDisplays]];</code>
|r1= [[Array]] of GUI [[Display]]s


| [[allControls]], [[findDisplay]], [[controlsGroupCtrl]], [[ctrlCreate]], [[allVariables]], [[allCurators]], [[allGroups]], [[allDead]], [[allDeadMen]]
|x1= <sqf>private _allDisps = allDisplays;</sqf>


|
|seealso= [[allControls]] [[findDisplay]] [[controlsGroupCtrl]] [[ctrlCreate]] [[allVariables]] [[allCurators]] [[allGroups]] [[allDead]] [[allDeadMen]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:02, 14 May 2022

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:
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