Arma 3 Scripting

activatedAddons

  • Arma 3 v1.14

Command · Markdown · JSON · original wiki page

Description

Returns a list of all activated addons.

Syntax

activatedAddons

Returns: Array of Strings

Examples

Example 1

_addons = activatedAddons;

See also

activateAddons

Community notes

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;