BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(\[.*)(call|spawn)(.*) " to "|s1=$1$2$3 ")
m (Some wiki formatting)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.16
|version1= 1.16


Line 10: Line 9:
{{Feature|important|This function is obsolete.}}
{{Feature|important|This function is obsolete.}}


|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
Line 16: Line 15:
|p3= status: [[Number]] - Default cost
|p3= status: [[Number]] - Default cost


| [[Array]] in format:
|r1= [[Array]] in format:
*1: show
# show
*2: cost
# cost
*3: cost
# cost


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

Revision as of 19:54, 9 June 2021

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