allVariables: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example)
(return is lower case)
Line 23: Line 23:
| p1= namespace: [[Control]], [[Team Member]], [[Namespace]], [[Object]], [[Group]], [[Task]], [[Location]] |=
| p1= namespace: [[Control]], [[Team Member]], [[Namespace]], [[Object]], [[Group]], [[Task]], [[Location]] |=


| [[Array]] of [[String]]s - array of variable names |= RETURNVALUE  
| [[Array]] of [[String]]s - array of variable names. All names are in lower case (see [[toLower]])|= RETURNVALUE  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:07, 11 June 2016

Hover & click on the images for description

Description

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

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

See also:
allControlsallDisplaysallCuratorsallGroupsallDeadallDeadMen

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

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]