uiNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 8: Line 7:
|gr1= GUI Control |GROUP1=
|gr1= GUI Control |GROUP1=
|gr2= Variables |GROUP2=
|gr2= Variables |GROUP2=
____________________________________________________________________________________________


| Returns the global namespace attached to user interface. |DESCRIPTION=
| Returns the global namespace attached to user interface. |DESCRIPTION=
____________________________________________________________________________________________


| '''uiNamespace''' |SYNTAX=
| '''uiNamespace''' |SYNTAX=
Line 32: Line 29:
</code>|EXAMPLE2=
</code>|EXAMPLE2=


____________________________________________________________________________________________


| [[missionNamespace]], [[currentNamespace]], [[parsingNamespace]], [[profileNamespace]], [[localNamespace]], [[allVariables]], [[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 05:20, 17 January 2021

Hover & click on the images for description

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

Notes

Bottom Section