BIS fnc registerCuratorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Curator(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma 3 |Game name=
|game1= arma3
|version1= 1.16


|1.16|Game version=
|gr1= Curator


|gr1 = Curator |GROUP1=
|descr= Get individual cost of an object.
____________________________________________________________________________________________
{{Feature|important|This function is obsolete.}}


| Get individual cost of an object.
|s1= [class, status, cost] call [[BIS_fnc_registerCuratorObject]]
{{Important|This function is obsolete.}}|DESCRIPTION=
____________________________________________________________________________________________


| [class, status, cost] call [[BIS_fnc_registerCuratorObject]] |SYNTAX=
|p1= class: [[String]] - object class
____________________________________________________________________________________________
|p2= status: [[Boolean]] - [[true]] to show status
|p3= status: [[Number]] - default cost


|p1= class: [[String]] - Object class|PARAMETER1=
|r1= [[Array]] in format:
|p2= status: [[Boolean]] - [[True]] to show status|PARAMETER2=
# show
|p3= status: [[Number]] - Default cost|PARAMETER3=
# cost
____________________________________________________________________________________________
# cost


| [[Array]] in format:
|x1= <sqf>["someClass", true, 5] call BIS_fnc_registerCuratorObject;</sqf>
*1: show
*2: cost
*3: cost|RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>["someClass", [[true]], 5] [[call]] [[BIS_fnc_registerCuratorObject]];</code> |=
|seealso= [[Arma 3: Curator]]
____________________________________________________________________________________________
 
| [[Curator]]|SEEALSO=
}}
}}
<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:Functions|{{uc:registerCuratorObject}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:registerCuratorObject}}]]

Latest revision as of 15:44, 8 November 2023

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
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:
Arma 3: 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