saveProfileNamespace: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
m (note about when to use this.) |
||
Line 14: | Line 14: | ||
|descr= Saves all variables stored in [[profileNamespace]] to the active [[Profile]]. | |descr= Saves all variables stored in [[profileNamespace]] to the active [[Profile]]. | ||
{{Feature|informative|This command should be used when it is likely that the game will not be closed the usual way for example via ALT+F4 or when the data is important and should not get lost due to a game crash.}} | |||
{{Feature|Warning| | {{Feature|Warning| | ||
* This command triggers a file operation. As file operations are slow (even on SSDs), it is not recommended to use this command too frequently (i.e. several times per second). | * This command triggers a file operation. As file operations are slow (even on SSDs), it is not recommended to use this command too frequently (i.e. several times per second). |
Revision as of 10:22, 5 January 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