activatedAddons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 19: | Line 19: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<dd class="notedate">Posted on March 28, 2014 - 20:21</dd> | <dd class="notedate">Posted on March 28, 2014 - 20:21</dd> | ||
<dt class="note">[[User:Tankbuster|Tankbuster]]<dd class="note"> | <dt class="note">[[User:Tankbuster|Tankbuster]]<dd class="note"> | ||
Line 25: | Line 24: | ||
<code>{[[if]] (! (["a3_", _x] [[call]] [[BIS_fnc_inString]])) [[then]] {[[diag_log]] _x;} } [[forEach]] [[activatedAddons]];</code> | <code>{[[if]] (! (["a3_", _x] [[call]] [[BIS_fnc_inString]])) [[then]] {[[diag_log]] _x;} } [[forEach]] [[activatedAddons]];</code> | ||
</dl> | </dl> |
Revision as of 00:34, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- Mods and Addons
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
_addons = activatedAddons;
Additional Information
- See also:
- activateAddons
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 March 28, 2014 - 20:21
- Tankbuster
-
This command can return a large array, often too large to be diag_log'd or hinted. At the time of writing, my game returned an array with 389 elements. The code below will ignore all the BI addons (they start with a3_) and writes the rest (ie, all your custom addons) to the RPT.
{if (! (["a3_", _x] call BIS_fnc_inString)) then {diag_log _x;} } forEach activatedAddons;