Command: createNamespace
Description: Creates a namespace. Used to store and read variables via setVariable and getVariable.
Syntax: createNamespace local;
- local: Boolean
Return Value: Namespace
Examples:
Local namespace:
private _namespace = createNamespace true; _namespace setVariable ["test", 10];
Global namespace:
private _namespace = createNamespace false; _namespace setVariable ["test", 1000, true];