uiNamespace: Difference between revisions
Jump to navigation
Jump to search
m (description) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''uiNamespace''' |= Syntax | | '''uiNamespace''' |= Syntax | ||
|p1= |= | |p1= |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Namespace]] |= | | [[Namespace]] |RETURNVALUE= | ||
|x1= <code>[[uiNamespace]] [[setVariable]] ["LIB_interruptDisplay", _display];</code>|= | |x1= <code>[[uiNamespace]] [[setVariable]] ["LIB_interruptDisplay", _display];</code>|EXAMPLE1= | ||
|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>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[with]], [[do]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] |= | | [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[with]], [[do]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:38, 7 April 2019
Description
- Description:
- Returns the global namespace attached to user interface. Template:note
- Groups:
- Uncategorised
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:
- missionNamespacecurrentNamespaceparsingNamespaceprofileNamespacewithdoForward 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
Notes
- Posted on 29 September, 2014
- BrotherhoodOfHam
-
The same can be said with parsingNamespace.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Command Group: Uncategorised
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Variables
- Command Group: GUI Control