missionNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added SEEALSO)
(Added example)
Line 21: Line 21:




|x1= <code>missionNamespace setVariable ["YourString",3];</code>|= EXAMPLE1  
|x1=  
<pre>missionNamespace setVariable ["YourString",3];//Same as: YourString = 3;
_yourString = missionNamespace getVariable "YourString";</pre>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 07:40, 12 June 2011

Hover & click on the images for description

Description

Description:
Return the global namespace attached to mission.
Groups:
Uncategorised

Syntax

Syntax:
missionNamespace
Return Value:
Namespace

Examples

Example 1:
missionNamespace setVariable ["YourString",3];//Same as: YourString = 3;
_yourString = missionNamespace getVariable "YourString";

Additional Information

See also:
NamespaceForward CompatibilityuiNamespaceparsingNamespace

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