BIS fnc curatorObjectRegistered: 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>/*
| Register "curatorObjectRegistered" handler. Cost of vehicles with crews will be automatically calculated based on vehicle + crew cost.|= Description
____________________________________________________________________________________________


Description:
| [curator, code] call [[BIS_fnc_curatorObjectRegistered]] |= Syntax
Register "curatorObjectRegistered" handler.
____________________________________________________________________________________________
Cost of vehicles with crews will be automatically calculated based on vehicle + crew cost.
 
Parameter(s):
0: OBJECT - curator module
1: CODE - handler code, passed arguments are [<curator:Object>,<classes:Array>]
 
Returns:
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= curator: [[Object]] - Curator module|= Parameter 1
|p2= code: [[Code]] - Handler code, passed arguments are:<br>
0: [[Object]] - Curator<br>
1: [[Array]] - Classes|= Parameter 2
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_curatorObjectRegistered]]; --> |= Syntax
| [[Nothing]]|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[curatorModule,{[[hint]] [[format]] ["Curator:%1, Classes:%2",[[_this]] # 0, [[_this]] # 1]}] [[call]] [[BIS_fnc_curatorObjectRegistered]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Curator]]|= See also
 
}}
}}



Revision as of 22:12, 1 June 2018

Hover & click on the images for description

Description

Description:
Register "curatorObjectRegistered" handler. Cost of vehicles with crews will be automatically calculated based on vehicle + crew cost.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[curator, code] call BIS_fnc_curatorObjectRegistered
Parameters:
curator: Object - Curator module
code: Code - Handler code, passed arguments are:
0: Object - Curator
1: Array - Classes
Return Value:
Nothing

Examples

Example 1:
[curatorModule,{hint format ["Curator:%1, Classes:%2",_this # 0, _this # 1]}] call BIS_fnc_curatorObjectRegistered;

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