BIS fnc registerCuratorObject: Difference between revisions
Jump to navigation
Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious)) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.16|= Game version | |1.16|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Get individual cost of an object. | ||
{{Important|This function is obsolete.}}|= Description | |||
____________________________________________________________________________________________ | |||
| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= class: [[String]] - Object class|= Parameter 1 | |||
|p2= status: [[Boolean]] - [[True]] to show status|= Parameter 2 | |||
|p3= status: [[Number]] - Default cost|= Parameter 3 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Array]] in format: | ||
*1: show | |||
*2: cost | |||
*3: cost|= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>["someClass", [[true]], 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Curator]]|= See also | ||
}} | }} | ||
Revision as of 21:17, 1 June 2018
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