uiNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (Command Group: Variables; GUI Control)
Line 60: Line 60:
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 21:37, 23 August 2015

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:
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

GossamerSolid
variables in uiNamespace are not lost between mission changes, they are carried over. Also take note that the server can make use of uiNamespace.
Posted on 29 September, 2014
BrotherhoodOfHam

^The same can be said with parsingNamespace.

Bottom Section