{"name":"BIS_fnc_curatorObjectRegisteredTable","title":"BIS fnc curatorObjectRegisteredTable","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_curatorObjectRegisteredTable","revid":379314,"updated":"2026-10-30T23:50:02Z","groups":["Curator"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","description":"Register curator object costs from a table.\nA table can be exported into a spreadsheet using BIS_fnc_exportCuratorCostTable and used as argument for this function.","syntaxes":[{"syntax":"[curatorLogic, [className, cost, className, cost...]] call BIS_fnc_curatorObjectRegisteredTable","params":[{"name":"curatorLogic","type":"Object","description":"the curator logic to set the object costs for.","type_expr":"Object"},{"name":"className","type":"String","description":"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.","type_expr":"String"},{"name":"cost","type":"Number","description":"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.","type_expr":"Number"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["// Nothing but the listed flare modules will show up in the curator's unit list\n[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)","see_also":["BIS_fnc_exportCuratorCostTable"],"notes":[{"user":"SilentSpike","date":"2014-11-10T17:02:00Z","text":"Be aware that you must provide an equal number of elements to the array of class names and costs.\nThat mean every class name should be followed by an associated cost.\nYou can add as many objects as you want as long as this condition is met."}]}