profileNamespace: Difference between revisions

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


| Return the global namespace attached to the active user profile. |= Description
| Return the global namespace attached to the active user profile.
 
Use [[setVariable]] and [[getVariable]] to save and load data to this [[Namespace]]. A variable can be deleted by setting its value to [[nil]].
 
The variables are stored next to the user profile in a file named ''myUsername.vars.TakeOnHProfile'' (usually in the My Documents\Take On Helicopters folder). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 30:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
* The variables are loaded when the user profile is loaded or changed.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 17:33, 25 November 2011


Hover & click on the images for description

Description

Description:
Return the global namespace attached to the active user profile. Use setVariable and getVariable to save and load data to this Namespace. A variable can be deleted by setting its value to nil. The variables are stored next to the user profile in a file named myUsername.vars.TakeOnHProfile (usually in the My Documents\Take On Helicopters folder).
Groups:
Uncategorised

Syntax

Syntax:
profileNamespace
Return Value:
Namespace

Examples

Example 1:
profileNamespace;

Additional Information

See also:
saveProfileNamespace

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

  • The variables are loaded when the user profile is loaded or changed.

Bottom Section