addCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
Line 11: Line 11:
| Allow curator use of given addon.
| Allow curator use of given addon.


| curatorObj '''addCuratorAddons''' addons
|s1=  curatorObj '''addCuratorAddons''' addons


|p1= curatorObj: [[Object]] - Curator module.
|p1= curatorObj: [[Object]] - Curator module.

Revision as of 23:43, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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