BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
Line 13: Line 13:
|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= status: [[Number]] - default cost


|r1= [[Array]] in format:
|r1= [[Array]] in format:

Revision as of 14:01, 8 November 2023

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
status: 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 or on the Forums.
Only post proven facts here! Add Note