allDisplays: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Some wiki formatting)
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.38


| 1.38 |Game version=
|gr1= GUI Control


|gr1= GUI Control |GROUP1=
|descr= Returns a list of all opened GUI displays.
____________________________________________________________________________________________


| 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:
{{Feature | informative | Other displays could be accessed via [[uiNamespace]] variable which is updated every time a display is opened or closed.
<code>[[uiNamespace]] [[getVariable]] ["IGUI_displays", []];</code>. Other display variables:
For example, to access IGUI displays:
* <tt>3DENDisplays_displays</tt>
<sqf>private _iguiDisplays = uiNamespace getVariable ["IGUI_displays", []];</sqf>
* <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> |DESCRIPTION=
____________________________________________________________________________________________


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"}}
}}
}}


| '''allDisplays''' |SYNTAX=
|p1= |=


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


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


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


| |MPBEHAVIOUR=  
|seealso= [[allControls]] [[findDisplay]] [[controlsGroupCtrl]] [[ctrlCreate]] [[allVariables]] [[allCurators]] [[allGroups]] [[allDead]] [[allDeadMen]]
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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