allVariables

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.38
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.38

Description

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

Syntax

Syntax:
allVariables namespace
Parameters:
namespace: Control, Team Member, Namespace, Object, Group, Task, Location
Return Value:
Array of Strings - array of variable names. All names are in lower case (see toLower)

Examples

Example 1:
_allVarsUINamespace = allVariables uiNamespace;
Example 2:
_allVarsTrigger = allVariables trigger1;

Additional Information

Multiplayer:
-
See also:
allControlsallDisplaysallCuratorsallGroupsallDeadallDeadMen

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on June 11, 2016 - 00:27 (UTC)
Benargee
Using profileNamespace and uiNamespace with this command has been disabled in multiplayer. [1]
Posted on October 1, 2016 - 23:54 (UTC)
longbow
One still can use allVariables in Multiplayer against profileNamespace and uiNamespace using config parser. In Description.ext _EXEC(somevar = allVariables profileNamespace) in code _allprofilevars = parsingNamespace getVariable "somevar" but list will be valid only at the moment of parsing config.