saveProfileNamespace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Warning( *)\|" to "{{$1Feature$2|$Warning$2|") |
||
Line 9: | Line 9: | ||
| Saves all variables stored in [[profileNamespace]] to the (persistently stored) active [[Profile]]. | | Saves all variables stored in [[profileNamespace]] to the (persistently stored) active [[Profile]]. | ||
{{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).}} | {{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).}} | ||
{{Important|Do not save large amounts of data to the profile; the larger the profile file gets, the slower it loads!}} | {{Important|Do not save large amounts of data to the profile; the larger the profile file gets, the slower it loads!}} | ||
{{Feature|tkoh|Heliport status (used in the Career mode for example) is stored in the file that is modified by this command, so be mindful of this to avoid losing data and progress.}} | {{Feature|tkoh|Heliport status (used in the Career mode for example) is stored in the file that is modified by this command, so be mindful of this to avoid losing data and progress.}} |
Revision as of 00:20, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- System
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
profileNamespace setVariable ["TAG_lastPlayerLocation", getPosASL player]; saveProfileNamespace;
Additional Information
- See also:
- See also needed
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
- 17:34, 25 November 2011
- Joris
- Variables are also saved when the game is quit.