BIS fnc registerCuratorObject: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Curator(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
Lou Montana (talk | contribs) 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: | ||
{{ | {{RV|type=function | ||
| | |game1= arma3 | ||
|version1= 1.16 | |||
| | |gr1= Curator | ||
| | |descr= Get individual cost of an object. | ||
{{Feature|important|This function is obsolete.}} | |||
| | |s1= [class, status, cost] call [[BIS_fnc_registerCuratorObject]] | ||
| [class | |p1= class: [[String]] - object class | ||
|p2= status: [[Boolean]] - [[true]] to show status | |||
|p3= status: [[Number]] - default cost | |||
| | |r1= [[Array]] in format: | ||
# show | |||
# cost | |||
# cost | |||
| [ | |x1= <sqf>["someClass", true, 5] call BIS_fnc_registerCuratorObject;</sqf> | ||
| | |seealso= [[Arma 3: Curator]] | ||
}} | }} | ||
Latest revision as of 15:44, 8 November 2023
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:
- show
- cost
- cost
Examples
- Example 1:
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