BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
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
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.16|= Game version
|1.16|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Get individual cost of an object.
{{Important|This function is obsolete.}}|= Description
____________________________________________________________________________________________


Description:
| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |= Syntax
Get individual cost of an object.
____________________________________________________________________________________________
Obsolete.
 
Parameter(s):
0: STRING - object class
1: BOOL - default show status
2: NUMBER - default cost
 
Returns:
ARRAY in format [<show>,<cost>,<cost>]
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= class: [[String]] - Object class|= Parameter 1
|p2= status: [[Boolean]] - [[True]] to show status|= Parameter 2
|p3= status: [[Number]] - Default cost|= Parameter 3
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_registerCuratorObject]]; --> |= Syntax
| [[Array]] in format:
 
*1: show
|p1= |= Parameter 1
*2: cost
 
*3: cost|= Return value
| |= 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

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