uiNamespace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
|gr2= Variables | |gr2= Variables | ||
| Returns the global namespace attached to user interface. | | Returns the global namespace attached to user interface. | ||
| '''uiNamespace''' | | '''uiNamespace''' | ||
|p1 | |p1= | ||
|p2 | |p2= | ||
|p3 | |p3= | ||
| [[Namespace]] | | [[Namespace]] | ||
|x1= <code>[[uiNamespace]] [[setVariable]] ["LIB_interruptDisplay", _display];</code> | |x1= <code>[[uiNamespace]] [[setVariable]] ["LIB_interruptDisplay", _display];</code> | ||
|x2= <code>[[uiNamespace]] [[setVariable]] ["myVar", 46]; | |x2= <code>[[uiNamespace]] [[setVariable]] ["myVar", 46]; | ||
Line 27: | Line 27: | ||
[[hint]] [[str]] myVar; //46 | [[hint]] [[str]] myVar; //46 | ||
}; | }; | ||
</code> | </code> | ||
| [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[localNamespace]], [[allVariables]], [[with]], [[do]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] | | [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[localNamespace]], [[allVariables]], [[with]], [[do]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:25, 18 January 2021
Description
- Description:
- Returns the global namespace attached to user interface.
- Groups:
- GUI ControlVariables
Syntax
- Syntax:
- uiNamespace
- Return Value:
- Namespace
Examples
- Example 1:
uiNamespace setVariable ["LIB_interruptDisplay", _display];
- Example 2:
uiNamespace setVariable ["myVar", 46]; with uiNamespace do { hint str myVar; //46 };
Additional Information
- See also:
- missionNamespacecurrentNamespaceparsingNamespaceprofileNamespacelocalNamespaceallVariableswithdoForward Compatibility
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