missionNamespace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2") |
Lou Montana (talk | contribs) m (Text replacement - "" to "") |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 13: | Line 13: | ||
|version4= 0.50 | |version4= 0.50 | ||
|gr1= Variables | |gr1= Namespaces | ||
|gr2= Variables | |||
|descr= Returns the global namespace attached to mission. | |descr= Returns the global namespace attached to mission. | ||
|s1= | |s1= [[missionNamespace]] | ||
|r1= [[Namespace]] | |r1= [[Namespace]] | ||
|x1= < | |x1= <sqf> | ||
missionNamespace setVariable ["StringVariable", "myString"]; // same as: StringVariable = "myString"; | |||
_myStringValue = missionNamespace getVariable "StringVariable"; | |||
hint _myStringValue; // hints "myString" | |||
</sqf> | |||
|seealso= | |seealso= [[currentNamespace]] [[uiNamespace]] [[parsingNamespace]] [[profileNamespace]] [[localNamespace]] [[serverNamespace]] [[allVariables]] [[with]] [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] | ||
}} | }} | ||
Latest revision as of 11:54, 26 April 2023
Description
- Description:
- Returns the global namespace attached to mission.
- Groups:
- NamespacesVariables
Syntax
- Syntax:
- missionNamespace
- Return Value:
- Namespace
Examples
- Example 1:
- missionNamespace setVariable ["StringVariable", "myString"]; // same as: StringVariable = "myString"; _myStringValue = missionNamespace getVariable "StringVariable"; hint _myStringValue; // hints "myString"
Additional Information
- See also:
- currentNamespace uiNamespace parsingNamespace profileNamespace localNamespace serverNamespace allVariables with Forward 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