allVariables: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
||
Line 23: | Line 23: | ||
|p1= namespace: [[Control]] (''Since {{arma3}} v2.01''), [[Display]] (''Since {{arma3}} v2.01'') [[Team Member]], [[Namespace]], [[Object]], [[Group]], [[Task]], [[Location]] | |p1= namespace: [[Control]] (''Since {{arma3}} v2.01''), [[Display]] (''Since {{arma3}} v2.01'') [[Team Member]], [[Namespace]], [[Object]], [[Group]], [[Task]], [[Location]] | ||
| [[Array]] of [[String]]s - array of variable names. All names are in lower case (see [[toLower]]) | |r1= [[Array]] of [[String]]s - array of variable names. All names are in lower case (see [[toLower]]) | ||
|x1= <code>_allVarsUINamespace = [[allVariables]] [[uiNamespace]];</code> | |x1= <code>_allVarsUINamespace = [[allVariables]] [[uiNamespace]];</code> |
Revision as of 13:21, 12 June 2021
Description
- Description:
- Description needed
- Multiplayer:
- Using profileNamespace and uiNamespace with this command has been disabled in multiplayer. Changelog
- Groups:
- Variables
Syntax
- Syntax:
- Syntax needed
- Parameters:
- namespace: Control (Since Arma 3 v2.01), Display (Since Arma 3 v2.01) 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
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
- 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.