addCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| curatorObj '''addCuratorAddons''' [addons] |= Syntax
| curatorObj '''addCuratorAddons''' addons |= Syntax


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


|p2= [addons]: [[Array]]  |= PARAMETER2   
|p2= addons: [[Array]] of CfgPatches classes |= PARAMETER2   


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>curator addCuratorAddons [addon1, addon2]</code>|= EXAMPLE1  
|x1= <code>curator addCuratorAddons ["A3_Armor_F_AMV","A3_Armor_F_Panther"];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


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


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

Revision as of 11:24, 18 February 2014

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:
curator addCuratorAddons ["A3_Armor_F_AMV","A3_Armor_F_Panther"];

Additional Information

See also:
removeCuratorAddonsremoveAllCuratorAddonscuratorAddons

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