Warning: file_put_contents(/ff_6c15ae82720436bdc3d32df2dc336c16b833b91bf80168b0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
allVariables - OFPEC Scripting Command Reference | OFPEC The Editing Center

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