allVariables namespace

Operand types

namespace: Namespace

Type of returned value

Description

Returns a list of all variables from desired namespace. Namespaces supported:


  • CONTROL

  • TEAM_MEMBER

  • NAMESPACE

  • OBJECT

  • GROUP

  • TASK

  • LOCATION

Used In

Arma3

Example

_allUiVars = allVariables uiNamespace;

_allPlrVars = allVariables player; //objectNameSpace

if (!("myvarib" in allVariables loon1)) then {
loon1 setVariable ["myvarib",true];
};

Advertisement