missionNamespace: Difference between revisions
Jump to navigation
Jump to search
m (Command Group: Variables) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''missionNamespace''' |= Syntax | | '''missionNamespace''' |= Syntax | ||
|p1= |= | |p1= |PARAMETER1= | ||
|p2= |= | |p2= |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Namespace]] |= | | [[Namespace]] |RETURNVALUE= | ||
|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>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[currentNamespace]], [[uiNamespace]], [[parsingNamespace]], [[profileNamespace]], [[with]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] |= | | [[currentNamespace]], [[uiNamespace]], [[parsingNamespace]], [[profileNamespace]], [[with]], [[ArmA:_Editing#Forward_Compatibility|Forward Compatibility]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:35, 7 April 2019
Description
- Description:
- Returns 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
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