BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Some wiki formatting)
 
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:
|s1= [class, status, cost] call [[BIS_fnc_registerCuratorObject]]
|s1= [class, status, cost] call [[BIS_fnc_registerCuratorObject]]


|p1= class: [[String]] - Object class
|p1= class: [[String]] - object class
 
|p2= status: [[Boolean]] - [[true]] to show status
|p2= status: [[Boolean]] - [[true]] to show status
|p3= status: [[Number]] - Default cost
 
|p3= cost: [[Number]] - default cost


|r1= [[Array]] in format:
|r1= [[Array]] in format:
Line 20: Line 22:
# cost
# cost


|x1= <code>["someClass", true, 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code>
|x1= <sqf>["someClass", true, 5] call BIS_fnc_registerCuratorObject;</sqf>


|seealso= [[Arma 3: Curator]]
|seealso= [[Arma 3: Curator]]
}}
}}

Latest revision as of 23:53, 4 November 2025

Hover & click on the images for description

Description

Description:
Get individual cost of an object.
This function is obsolete.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[class, status, cost] call BIS_fnc_registerCuratorObject
Parameters:
class: String - object class
status: Boolean - true to show status
cost: Number - default cost
Return Value:
Array in format:
  1. show
  2. cost
  3. cost

Examples

Example 1:
["someClass", true, 5] call BIS_fnc_registerCuratorObject;

Additional Information

See also:
Arma 3: Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note