addCuratorAddons: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "") |
Lou Montana (talk | contribs) |
||
Line 17: | Line 17: | ||
|p2= addons: [[Array]] of CfgPatches classes | |p2= addons: [[Array]] of CfgPatches classes | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>curatorObj [[addCuratorAddons]] ["A3_Armor_F_AMV","A3_Armor_F_Panther"];</code> | |x1= <code>curatorObj [[addCuratorAddons]] ["A3_Armor_F_AMV","A3_Armor_F_Panther"];</code> |
Revision as of 09:58, 10 June 2021
Description
- Description:
- Description needed
- Multiplayer:
- Can be executed only on server
- Groups:
- Curator
Syntax
- Syntax:
- Syntax needed
- Parameters:
- curatorObj: Object - Curator module.
- addons: Array of CfgPatches classes
- 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
- See also:
- See also needed
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