BIS fnc activateAddons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
||
Line 12: | Line 12: | ||
|s1= [addons] call [[BIS_fnc_activateAddons]] | |s1= [addons] call [[BIS_fnc_activateAddons]] | ||
|p1= addons: [[Array]] of [[String|strings]] - | |p1= addons: [[Array]] of [[String|strings]] - addon classes from CfgPatches or object classes from CfgVehicles | ||
|r1= [[Array]] of [[String|strings]] - | |r1= [[Array]] of [[String|strings]] - activated addons | ||
|x1= <sqf>["class_1","class_2"] call BIS_fnc_activateAddons;</sqf> | |x1= <sqf>["class_1","class_2"] call BIS_fnc_activateAddons;</sqf> |
Revision as of 12:39, 8 November 2023
Description
- Description:
- Activate addons upon mission start. Doesn't work when the mission is already running.
- 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:
Additional Information
- See also:
- activateAddons unitAddons activatedAddons
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