uiNamespace: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
(see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the global namespace attached to user interface. {{note|'''uiNamespace''' is persistent even when mission is changed on server.}}|DESCRIPTION=
| Returns the global namespace attached to user interface. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 31: Line 31:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[with]], [[do]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] |SEEALSO=  
| [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[localNamespace]], [[allVariables]], [[with]], [[do]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 13:45, 9 July 2020

Hover & click on the images for description

Description

Description:
Returns the global namespace attached to user interface.
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:
missionNamespacecurrentNamespaceparsingNamespaceprofileNamespacelocalNamespaceallVariableswithdoForward Compatibility

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note

Notes

Posted on 29 September, 2014
BrotherhoodOfHam

The same can be said with parsingNamespace.

Bottom Section