missionNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - " {3,}\|" to " |")
Line 6: Line 6:


|gr1= Variables
|gr1= Variables


| Returns the global namespace attached to mission.
| Returns the global namespace attached to mission.
Line 19: Line 18:


| [[Namespace]]
| [[Namespace]]


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


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

Revision as of 17:40, 18 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