Arma 3 Scripting

Command in Namespaces, Variables, Multiplayer

localNamespace

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns local Namespace attached to the mission. Has the same lifetime as missionNamespace but variables cannot be broadcasted out of or into this namespace in multiplayer and will not be serialized when game is saved. UI variables can be safely stored in this namespace. Use allVariables command to save the variables elsewhere if required.

Syntax

localNamespace

Returns: Namespace

Examples

Example 1

localNamespace setVariable ["abc", 123];

Example 2

with localNamespace do { hint str abc };

See also

missionNamespace · uiNamespace · parsingNamespace · profileNamespace · currentNamespace · allVariables