allVariables: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (return is lower case) |
USSRLongbow (talk | contribs) No edit summary |
||
Line 54: | Line 54: | ||
<dt class="note">[[User:Benargee|Benargee]]</dt> | <dt class="note">[[User:Benargee|Benargee]]</dt> | ||
<dd class="note">Using [[profileNamespace]] and [[uiNamespace]] with this command has been disabled in multiplayer. [https://forums.bistudio.com/topic/140837-development-branch-changelog/page-28#entry2869646] | <dd class="note">Using [[profileNamespace]] and [[uiNamespace]] with this command has been disabled in multiplayer. [https://forums.bistudio.com/topic/140837-development-branch-changelog/page-28#entry2869646] | ||
</dd> | |||
</dl> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on October 1, 2016 - 23:54 (UTC)</dd> | |||
<dt class="note">[[User:longbow|longbow]]</dt> | |||
<dd class="note">One still can use [[allVariables]] against [[profileNamespace]] and [[uiNamespace]] using config parser. In [[Description.ext]] | |||
<code>_EXEC(somevar = allVariables profileNamespace)</code> | |||
in code | |||
<code>_allprofilevars = parsingNamespace getVariable "somevar"</code> | |||
but list will be valid only at the moment of parsing config. | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 00:54, 2 October 2016
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
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]
- Posted on October 1, 2016 - 23:54 (UTC)
- longbow
- One still can use allVariables 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.