allVariables

From Bohemia Interactive Community
Revision as of 17:11, 15 March 2023 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns a list of all variables from the desired namespace.
Multiplayer:
Using profileNamespace and uiNamespace with this command has been disabled in multiplayer in Arma 3 logo black.png1.40 - see Changelog.
Groups:
NamespacesVariables

Syntax

Syntax:
allVariables namespace
Parameters:
namespace: Namespace, Object, Group, Task, Location, Team Member, Arma 3 logo black.png2.02 Control, Arma 3 logo black.png2.02 Display
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

See also:
allControls allDisplays allCurators allGroups allDead allDeadMen

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
longbow - c
Posted on Oct 01, 2016 - 23:54 (UTC)
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 this list will be valid only at the moment of config parsing.