BIS fnc registerCuratorObject: Difference between revisions
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.}}|= | {{Important|This function is obsolete.}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |= | | [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= class: [[String]] - Object class|= | |p1= class: [[String]] - Object class|PARAMETER1= | ||
|p2= status: [[Boolean]] - [[True]] to show status|= | |p2= status: [[Boolean]] - [[True]] to show status|PARAMETER2= | ||
|p3= status: [[Number]] - Default cost|= | |p3= status: [[Number]] - Default cost|PARAMETER3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
*1: show | *1: show | ||
*2: cost | *2: cost | ||
*3: cost|= | *3: cost|RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 28: | Line 28: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Curator]]|= | | [[Curator]]|SEEALSO= | ||
}} | }} | ||
Revision as of 14:32, 7 April 2019
Description
- Description:
- Get individual cost of an object.
- 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