BIS fnc activateAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Activate addons upon mission start. Doesn't work when the mission is already running.|= Description
____________________________________________________________________________________________


Description:
| [addons] call [[BIS_fnc_activateAddons]] |= Syntax
Activate addons upon mission start.
____________________________________________________________________________________________
Doesn't work when the mission is already running.
 
Parameter(s):
0: ARRAY of STRINGs - addon clases from CfgPatches or object classes from CfgVehicles
 
Returns:
ARRAY of STRINGS - activated addons
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= addons: [[Array]] of [[String|strings]] - Addon classes from CfgPatches or object classes from CfgVehicles|= Parameter 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_activateAddons]]; --> |= Syntax
| [[Array]] of [[String|strings]] - Activated addons|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>["class_1","class_2"] [[call]] [[BIS_fnc_activateAddons]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 10:30, 1 June 2018

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