Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:Returns the namespace attached to the current user.

This namespace can be used to store global variables that are retained for the current user profile throughout VBS, even when switching missions within VBS, and after restarting VBS2. The permanent storage of this data is done on the hard drive, in the user profile folder, as username.vars.VBS2Profile. The data is only actually written to the hard drive, when either a different profile is chosen, when quitting VBS, or when saveProfileNamespace is executed.

Syntax

Syntax:profileNamespace
Parameters:
Return Value:Namespace

Examples

Examples:
profileNamespace setVariable ["lesson",3];

Additional Information

See also: missionNamespace, uiNamespace, parsingNamespace, with
Multiplayer:
Problems:

Notes