Description
Register curator object costs from a table.
A table can be exported into a spreadsheet using BIS_fnc_exportCuratorCostTable and used as argument for this function.
Syntax
[curatorLogic, [className, cost, className, cost...]] call BIS_fnc_curatorObjectRegisteredTable
Parameters:
curatorLogic: Object - the curator logic to set the object costs for.className: String - the class name of the object you wish to assign a cost to. Any objects not listed in the array won't appear in the curator's unit list.cost: Number - the cost you wish to assign to the preceding object. The cost should be between 0 and 1, with 1 representing the entire resource bar of the curator.
Returns: Boolean
Examples
Example 1
// Nothing but the listed flare modules will show up in the curator's unit list
[getAssignedCuratorLogic player, ["ModuleFlareWhite_F",0.02,"ModuleFlareYellow_F",0.02,"ModuleFlareGreen_F",0.02]] call BIS_fnc_curatorObjectRegisteredTable;
Multiplayer
Must be executed where the logic is local (on the machine of the player it is assigned to)