activatedAddons

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.14
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.14

Description

Description:
Returns a list of all activated addons.

Syntax

Syntax:
activatedAddons
Return Value:
Array

Examples

Example 1:
_addons = activatedAddons;

Additional Information

Multiplayer:
-
See also:
activateAddons

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

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;

Bottom Section