addCuratorAddons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.16 | |||
|1.16 | |||
|serverExec= server | |serverExec= server |
Revision as of 23:14, 13 June 2021
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 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