BIS fnc activateAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 11: Line 11:
| Activate addons upon mission start. Doesn't work when the mission is already running.
| Activate addons upon mission start. Doesn't work when the mission is already running.


| [addons] call [[BIS_fnc_activateAddons]]
|s1=[addons] call [[BIS_fnc_activateAddons]]


|p1= addons: [[Array]] of [[String|strings]] - Addon classes from CfgPatches or object classes from CfgVehicles
|p1= addons: [[Array]] of [[String|strings]] - Addon classes from CfgPatches or object classes from CfgVehicles

Revision as of 15:56, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Systems

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