saveProfileNamespace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
Line 26: | Line 26: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>profileNamespace setVariable ["TAG_lastPlayerLocation", getPosASL player]; | |x1= <sqf> | ||
saveProfileNamespace; // Optional since namespace is saved when game is closed</sqf> | profileNamespace setVariable ["TAG_lastPlayerLocation", getPosASL player]; | ||
saveProfileNamespace; // Optional since namespace is saved when game is closed | |||
</sqf> | |||
|seealso= [[saveMissionProfileNamespace]] [[save3DENPreferences]] [[profileNamespace]] [[Profile]] | |seealso= [[saveMissionProfileNamespace]] [[save3DENPreferences]] [[profileNamespace]] [[Profile]] | ||
}} | }} |
Latest revision as of 19:43, 3 September 2024
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
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