saveProfileNamespace: Difference between revisions
Jump to navigation
Jump to search
m (Added command group Namespaces) |
Lou Montana (talk | contribs) m (Text replacement - "\{\{cc\|([^} ]*)\}\}" to "// $1") |
||
Line 27: | Line 27: | ||
|x1= <code>[[profileNamespace]] [[setVariable]] ["TAG_lastPlayerLocation", [[getPosASL]] [[player]]]; | |x1= <code>[[profileNamespace]] [[setVariable]] ["TAG_lastPlayerLocation", [[getPosASL]] [[player]]]; | ||
[[saveProfileNamespace]]; | [[saveProfileNamespace]];// Optional since namespace is saved when game is closed</code> | ||
|seealso= [[profileNamespace]] [[Profile]] | |seealso= [[profileNamespace]] [[Profile]] | ||
}} | }} |
Revision as of 11:26, 12 May 2022
Description
- Description:
- Saves all variables stored in profileNamespace to the active Profile.
- Groups:
- NamespacesVariables
Syntax
- Syntax:
- saveProfileNamespace
- Return Value:
- Nothing
Examples
- Example 1:
profileNamespace setVariable ["TAG_lastPlayerLocation", getPosASL player]; saveProfileNamespace;// Optional since namespace is saved when game is closed
Additional Information
- See also:
- profileNamespace Profile
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