addCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|gr1= Curator |GROUP1=
|gr1= Curator |GROUP1=
____________________________________________________________________________________________


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


| curatorObj '''addCuratorAddons''' addons |SYNTAX=
| curatorObj '''addCuratorAddons''' addons |SYNTAX=
Line 37: Line 34:
]</code>|EXAMPLE3=
]</code>|EXAMPLE3=


____________________________________________________________________________________________


| [[Curator]], [[removeCuratorAddons]], [[removeAllCuratorAddons]], [[curatorAddons]] |SEEALSO=  
| [[Curator]], [[removeCuratorAddons]], [[removeAllCuratorAddons]], [[curatorAddons]] |SEEALSO=  


| mp= Can be executed only on server |MPBEHAVIOUR=  
| mp= Can be executed only on server |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 00:08, 17 January 2021

Hover & click on the images for description

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