BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious))
m (Some wiki formatting)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.16


| arma3 |= Game name
|gr1= Curator


|1.16|= Game version
|descr= Get individual cost of an object.
____________________________________________________________________________________________
{{Feature|important|This function is obsolete.}}


| <pre>/*
|s1= [class, status, cost] call [[BIS_fnc_registerCuratorObject]]


Description:
|p1= class: [[String]] - object class
Get individual cost of an object.
Obsolete.


Parameter(s):
|p2= status: [[Boolean]] - [[true]] to show status
0: STRING - object class
1: BOOL - default show status
2: NUMBER - default cost


Returns:
|p3= cost: [[Number]] - default cost
ARRAY in format [<show>,<cost>,<cost>]
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|r1= [[Array]] in format:
____________________________________________________________________________________________
# show
# cost
# cost


| <!-- [] call [[BIS_fnc_registerCuratorObject]]; --> |= Syntax
|x1= <sqf>["someClass", true, 5] call BIS_fnc_registerCuratorObject;</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Arma 3: Curator]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Curator|{{uc:registerCuratorObject}}]]
[[Category:Functions|{{uc:registerCuratorObject}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:registerCuratorObject}}]]

Latest revision as of 23:53, 4 November 2025

Hover & click on the images for description

Description

Description:
Get individual cost of an object.
This function is obsolete.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[class, status, cost] call BIS_fnc_registerCuratorObject
Parameters:
class: String - object class
status: Boolean - true to show status
cost: 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:
Arma 3: Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note