addCuratorAddons

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.16
  This scripting command must be executed on the server to work properly in multiplayer

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

Description

Description:
Allow curator use of given addon.

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

Multiplayer:
Can be executed only on server
See also:
CuratorremoveCuratorAddonsremoveAllCuratorAddonscuratorAddons

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section