addCuratorAddons: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Reverted to revision 89405 by benargee on 2015-05-16T07:08:07Z) |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
| curatorObj '''addCuratorAddons''' addons |= Syntax | | curatorObj '''addCuratorAddons''' addons |= Syntax | ||
|p1= curatorObj: [[Object]] - Curator module. |= | |p1= curatorObj: [[Object]] - Curator module. |PARAMETER1= | ||
|p2= addons: [[Array]] of CfgPatches classes |= | |p2= addons: [[Array]] of CfgPatches classes |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|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>|EXAMPLE1= | ||
|x2= <code>curatorObj [[addCuratorAddons]] ["A3_Modules_F_Curator_Lightning"];</code>|= | |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"]; | |x3= Addons can be stacked:<code>curatorObj [[addCuratorAddons]] ["A3_Armor_F_AMV","A3_Armor_F_Panther"]; | ||
Line 33: | Line 33: | ||
"A3_Armor_F_Panther", | "A3_Armor_F_Panther", | ||
"A3_Modules_F_Curator_Lightning" | "A3_Modules_F_Curator_Lightning" | ||
]</code>|= | ]</code>|EXAMPLE3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Curator]], [[removeCuratorAddons]], [[removeAllCuratorAddons]], [[curatorAddons]] |= | | [[Curator]], [[removeCuratorAddons]], [[removeAllCuratorAddons]], [[curatorAddons]] |SEEALSO= | ||
| mp= Can be executed only on server |= | | mp= Can be executed only on server |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:28, 7 April 2019
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