saveProfileNamespace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>") |
||
Line 26: | Line 26: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>profileNamespace setVariable ["TAG_lastPlayerLocation", | |x1= <code>profileNamespace setVariable ["TAG_lastPlayerLocation", getPosASL [[player]]]; | ||
saveProfileNamespace;// Optional since namespace is saved when game is closed</code> | saveProfileNamespace;// Optional since namespace is saved when game is closed</code> | ||
|seealso= [[profileNamespace]] [[Profile]] | |seealso= [[profileNamespace]] [[Profile]] | ||
}} | }} |
Revision as of 11:40, 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