BIS fnc registerCuratorObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Curator |GROUP1= | |gr1 = Curator |GROUP1= | ||
| 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|PARAMETER1= | |p1= class: [[String]] - Object class|PARAMETER1= | ||
|p2= status: [[Boolean]] - [[true]] to show status|PARAMETER2= | |p2= status: [[Boolean]] - [[true]] to show status|PARAMETER2= | ||
|p3= status: [[Number]] - Default cost|PARAMETER3= | |p3= status: [[Number]] - Default cost|PARAMETER3= | ||
| [[Array]] in format: | | [[Array]] in format: | ||
Line 25: | Line 20: | ||
*2: cost | *2: cost | ||
*3: cost|RETURNVALUE= | *3: cost|RETURNVALUE= | ||
|x1= <code>["someClass", [[true]], 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code> |= | |x1= <code>["someClass", [[true]], 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code> |= | ||
| [[Curator]]|SEEALSO= | | [[Curator]]|SEEALSO= |
Revision as of 23:50, 16 January 2021
Description
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