BIS fnc registerCuratorObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1 = Curator | |gr1 = Curator | ||
| Get individual cost of an object. | | Get individual cost of an object. | ||
{{Important|This function is obsolete.}} | {{Important|This function is obsolete.}} | ||
| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] | | [class, status, cost] call [[BIS_fnc_registerCuratorObject]] | ||
|p1= class: [[String]] - Object class | |p1= class: [[String]] - Object class | ||
|p2= status: [[Boolean]] - [[true]] to show status | |p2= status: [[Boolean]] - [[true]] to show status | ||
|p3= status: [[Number]] - Default cost | |p3= status: [[Number]] - Default cost | ||
| [[Array]] in format: | | [[Array]] in format: | ||
*1: show | *1: show | ||
*2: cost | *2: cost | ||
*3: cost | *3: cost | ||
|x1= <code>["someClass", [[true]], 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code> | |x1= <code>["someClass", [[true]], 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code> | ||
| [[Curator]] | | [[Curator]] | ||
}} | }} | ||
Revision as of 23:38, 17 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