BIS fnc curatorObjectRegistered: Difference between revisions
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 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.16|= Game version | |1.16|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Register "curatorObjectRegistered" handler. Cost of vehicles with crews will be automatically calculated based on vehicle + crew cost.|= Description | ||
____________________________________________________________________________________________ | |||
| [curator, code] call [[BIS_fnc_curatorObjectRegistered]] |= Syntax | |||
____________________________________________________________________________________________ | |||
< | |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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Nothing]]|= 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 21:12, 1 June 2018
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