saveProfileNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (See also)
m (Expanded info)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Saves the variables stored in [[profileNamespace]] to the persistent active user profile. |= Description
| Saves the variables stored in [[profileNamespace]] to the persistent active user profile.
 
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.|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 28:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
* Variables are also saved when the game is quit.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 18:34, 25 November 2011


Hover & click on the images for description

Description

Description:
Saves the variables stored in profileNamespace to the persistent active user profile. 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.
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

  • Variables are also saved when the game is quit.

Bottom Section