activateAddons: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 107802 by R3vo on 2018-05-30T12:47:49Z) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Activates the listed addons. The list of active addons is initialized during this function. |= | | Activates the listed addons. The list of active addons is initialized during this function. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''activateAddons''' [addon1, ...] |= | | '''activateAddons''' [addon1, ...] |SYNTAX= | ||
|p1= [addon1, ...]: [[Array]] |= Parameter 1 | |p1= [addon1, ...]: [[Array]] |= Parameter 1 | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[unitAddons]], [[activatedAddons]] |= | | [[unitAddons]], [[activatedAddons]] |SEEALSO= | ||
}} | }} |
Revision as of 11:24, 7 April 2019
Description
- Description:
- Activates the listed addons. The list of active addons is initialized during this function.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
activateAddons ["BISOFP"];
Additional Information
- See also:
- 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
Notes
- Posted on Jan 21, 2009 - 12:37
- WGL.Q
- Be aware that "Addon1" is the cfgPatches class of the desired addon to preload.
- Posted on May 10, 2009 - 11:17
- UNN
- This command will activate addons that are referenced via scripts but not included in a missions required addons section. If executed from a configs init event with the call command, it will effectively override a missions required addons, preventing them from being activated (Appears to only happen in multi player). To activate the passed addons along with those defined in the mission.sqm, execute the command from a configs init event using spawn or execVM. UNN