BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (template:command argument fix)
Line 8: Line 8:


| Get individual cost of an object.
| Get individual cost of an object.
{{Important|This function is obsolete.}}|= Description
{{Important|This function is obsolete.}}|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |= Syntax
| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |SYNTAX=
____________________________________________________________________________________________
____________________________________________________________________________________________


|p1= class: [[String]] - Object class|= Parameter 1
|p1= class: [[String]] - Object class|PARAMETER1=
|p2= status: [[Boolean]] - [[True]] to show status|= Parameter 2
|p2= status: [[Boolean]] - [[True]] to show status|PARAMETER2=
|p3= status: [[Number]] - Default cost|= Parameter 3
|p3= status: [[Number]] - Default cost|PARAMETER3=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
*1: show
*1: show
*2: cost
*2: cost
*3: cost|= Return value
*3: cost|RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 28: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Curator]]|= See also
| [[Curator]]|SEEALSO=
}}
}}



Revision as of 15:32, 7 April 2019

Hover & click on the images for description

Description

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

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:
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

Notes

Bottom Section