addCuratorAddons: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 14: | Line 14: | ||
|p1= curatorObj: [[Object]] - curator module. | |p1= curatorObj: [[Object]] - curator module. | ||
|p2= addons: [[Array]] of CfgPatches | |p2= addons: [[Array]] of [[String]]s - CfgPatches class names | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Latest revision as of 09:50, 4 April 2026
Description
- Description:
- Allow curator use of given addon.
- Multiplayer:
- Can be executed only on server
- Groups:
- Curator
Syntax
- Syntax:
- curatorObj addCuratorAddons addons
- Parameters:
- curatorObj: Object - curator module.
- addons: Array of Strings - CfgPatches class names
- Return Value:
- Nothing
Examples
- Example 1:
- curatorObj addCuratorAddons ["A3_Armor_F_AMV","A3_Armor_F_Panther"];
- Example 2:
- curatorObj addCuratorAddons ["A3_Modules_F_Curator_Lightning"];
- Example 3:
- Addons can be stacked:
curatorObj addCuratorAddons ["A3_Armor_F_AMV","A3_Armor_F_Panther"]; curatorObj addCuratorAddons ["A3_Modules_F_Curator_Lightning"]; diag_log curatorAddons curatorObj;
[ "A3_Armor_F_AMV", "A3_Armor_F_Panther", "A3_Modules_F_Curator_Lightning" ]
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note