uiNamespace: Difference between revisions

From Bohemia Interactive Community
m (Command Group: Variables; GUI Control)
m (added note into description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the global namespace attached to user interface. |= Description
| Returns the global namespace attached to user interface. '''NOTE''': '''uiNamespace is persistent even when mission is changed on server.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 39: Line 39:
<h3 style='display:none'>Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dt class="note">'''[[User:GossamerSolid|GossamerSolid]]'''<dd class="note">


variables in uiNamespace are not lost between mission changes, they are carried over. Also take note that the server can make use of uiNamespace.
<br/>
<dd class="notedate">Posted on 29 September, 2014
<dd class="notedate">Posted on 29 September, 2014
<dt class="note">[[User:BrotherhoodOfHam|BrotherhoodOfHam]]
<dt class="note">[[User:BrotherhoodOfHam|BrotherhoodOfHam]]
<dd class="note">
<dd class="note">
<br/>
<br/>
^The same can be said with [[parsingNamespace]].
The same can be said with [[parsingNamespace]].


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 07:38, 15 May 2018

Hover & click on the images for description

Description

Description:
Returns the global namespace attached to user interface. NOTE: uiNamespace is persistent even when mission is changed on server.
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.
Only post proven facts here! Add Note

Notes

Posted on 29 September, 2014
BrotherhoodOfHam

The same can be said with parsingNamespace.

Bottom Section