saveProfileNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatted notes)
m (template:command argument fix)
Line 15: Line 15:
* '''Warning''': saving a lot of data can quickly increase the size of the profile variables file, so keep an eye on this.
* '''Warning''': saving a lot of data can quickly increase the size of the profile variables file, so keep an eye on this.


* '''Warning''': TKOH's Heliport status (used in the Career mode for example) is stored in this file, so be mindful of working with this technology to avoid losing data and progress. |= Description
* '''Warning''': TKOH's Heliport status (used in the Career mode for example) is stored in this file, so be mindful of working with this technology to avoid losing data and progress. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''saveProfileNamespace'''|= Syntax
| '''saveProfileNamespace'''|SYNTAX=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>saveProfileNamespace;</code> |=
|x1= <code>saveProfileNamespace;</code> |=


| [[profileNamespace]] |= See also
| [[profileNamespace]] |SEEALSO=


}}
}}

Revision as of 15:46, 7 April 2019


Hover & click on the images for description

Description

Description:
Saves the variables stored in profileNamespace to the persistent active user profile.
  • Warning: this is a file operation, which makes it expensive! It is not recommended to do this at a high frequency in a loop for example. It is however also recommended not to change a large amount of variables and wait long before saving, because certain game crashes may cause a loss of data.
  • Warning: saving a lot of data can quickly increase the size of the profile variables file, so keep an eye on this.
  • Warning: TKOH's Heliport status (used in the Career mode for example) is stored in this file, so be mindful of working with this technology to avoid losing data and progress.
Groups:
Uncategorised

Syntax

Syntax:
saveProfileNamespace
Return Value:
Nothing

Examples

Example 1:
saveProfileNamespace;

Additional Information

See also:
profileNamespace

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

Notes

Unknown
Variables are also saved when the game is quit.

Bottom Section