missionNamespace: 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= Variables |GROUP1=
|gr1= Variables |GROUP1=


____________________________________________________________________________________________


| Returns the global namespace attached to mission. |DESCRIPTION=
| Returns the global namespace attached to mission. |DESCRIPTION=
____________________________________________________________________________________________


| '''missionNamespace''' |SYNTAX=
| '''missionNamespace''' |SYNTAX=
Line 27: Line 24:
_yourString = [[missionNamespace]] [[getVariable]] "YourString";</code>|EXAMPLE1=  
_yourString = [[missionNamespace]] [[getVariable]] "YourString";</code>|EXAMPLE1=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:52, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns the global namespace attached to mission.
Groups:
Variables

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