BIS fnc activateAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Activate addons upon mission start. Doesn't work when the mission is already running.|= Description
| Activate addons upon mission start. Doesn't work when the mission is already running.|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [addons] call [[BIS_fnc_activateAddons]] |= Syntax
| [addons] call [[BIS_fnc_activateAddons]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] of [[String|strings]] - Activated addons|= Return value
| [[Array]] of [[String|strings]] - Activated addons|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[activateAddons]], [[unitAddons]], [[activatedAddons]] |= See also
| [[activateAddons]], [[unitAddons]], [[activatedAddons]] |SEEALSO=
}}
}}



Revision as of 11:26, 7 April 2019

Hover & click on the images for description

Description

Description:
Activate addons upon mission start. Doesn't work when the mission is already running.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[addons] call BIS_fnc_activateAddons
Parameters:
addons: Array of strings - Addon classes from CfgPatches or object classes from CfgVehicles
Return Value:
Array of strings - Activated addons

Examples

Example 1:
["class_1","class_2"] call BIS_fnc_activateAddons;

Additional Information

See also:
activateAddonsunitAddonsactivatedAddons

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