Arma 3 Scripting

BIS_fnc_curatorObjectRegisteredTable

  • Arma 3 v1.16

Function · Markdown · JSON · original wiki page

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:

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)

See also

BIS_fnc_exportCuratorCostTable

Community notes

SilentSpike

Be aware that you must provide an equal number of elements to the array of class names and costs. That mean every class name should be followed by an associated cost. You can add as many objects as you want as long as this condition is met.