addCuratorAddons: Difference between revisions
| mNo edit summary | Killzone Kid (talk | contribs)   (example) | ||
| Line 19: | Line 19: | ||
| |x1= <code> | |x1= <code>curatorObj [[addCuratorAddons]] ["A3_Armor_F_AMV","A3_Armor_F_Panther"];</code>|= EXAMPLE1   | ||
| |x2= <code>curatorObj [[addCuratorAddons]] ["A3_Modules_F_Curator_Lightning"];</code>|= EXAMPLE2 | |||
| |x3= Addons can be stacked:<code>curatorObj [[addCuratorAddons]] ["A3_Armor_F_AMV","A3_Armor_F_Panther"]; | |||
| curatorObj [[addCuratorAddons]] ["A3_Modules_F_Curator_Lightning"]; | |||
| [[diag_log]] [[curatorAddons]] curatorObj;</code> | |||
| <br/> | |||
| <code>[ | |||
| 	"A3_Armor_F_AMV", | |||
| 	"A3_Armor_F_Panther", | |||
| 	"A3_Modules_F_Curator_Lightning" | |||
| ]</code>|= EXAMPLE3 | |||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:43, 18 February 2014
Description
- Description:
- Allow curator use of given addon.
- Multiplayer:
- Can be executed only on server
- Groups:
- Uncategorised
Syntax
- Syntax:
- curatorObj addCuratorAddons addons
- 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
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
 
	