addCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Allow curator use of given addon. |= Description
| Allow curator use of given addon. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| curatorObj '''addCuratorAddons''' addons |= Syntax
| curatorObj '''addCuratorAddons''' addons |SYNTAX=


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

Revision as of 11:24, 7 April 2019

Hover & click on the images for description

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

See also:
CuratorremoveCuratorAddonsremoveAllCuratorAddonscuratorAddons

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

Notes

Bottom Section