localNamespace

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 2.002.00
Hover & click on the images for descriptions

Description

Description:
Returns local Namespace attached to the mission. Has the same lifetime as missionNamespace but variables cannot be broadcast 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

Syntax:
localNamespace
Return Value:
Namespace

Examples

Example 1:
localNamespace setVariable ["abc", 123]
Example 2:
with localNamespace do {hint str abc};

Additional Information

See also:
missionNamespaceuiNamespaceparsingNamespaceprofileNamespacecurrentNamespaceallVariables
Groups:
VariablesMultiplayer

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section