profileNamespace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Expanded info)
(Added to OA category)
Line 35: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 22:29, 20 September 2012


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 (e.g. in the My Documents\Take On Helicopters folder).
Groups:
Uncategorised

Syntax

Syntax:
profileNamespace
Return Value:
Namespace

Examples

Example 1:
_namespace = 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