BIS fnc activateAddons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
||
Line 16: | Line 16: | ||
|r1= [[Array]] of [[String|strings]] - Activated addons | |r1= [[Array]] of [[String|strings]] - Activated addons | ||
|x1= < | |x1= <sqf>["class_1","class_2"] call BIS_fnc_activateAddons;</sqf> | ||
|seealso= [[activateAddons]] [[unitAddons]], [[activatedAddons]] | |seealso= [[activateAddons]] [[unitAddons]], [[activatedAddons]] | ||
}} | }} |
Revision as of 19:03, 5 May 2022
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 unitAddonsactivatedAddons
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