CBA_fnc_createNamespace

Description

Creates a namespace.  Used to store and read variables via setVariable and getVariable.

The Namespace is destroyed after the mission ends.

Parameters

_isGlobalcreate a global namespace (optional, default: false) <BOOLEAN>

Returns

_namespacea namespace <LOCATION, OBJECT>

Examples

_namespace = call CBA_fnc_createNamespace;

My_GlobalNamespace = true call CBA_fnc_createNamespace;
publicVariable "My_GlobalNamespace";

Author

commy2

Close