Arma 3 Scripting

localNamespace

  • Arma 3 v2.00

Command · also in Variables, Multiplayer · Markdown · JSON · 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