BIS fnc curatorRespawn: 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|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.16| | |1.16|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |Restore unit for curators after respawn. | ||
When curator owner, it will transfer ownership to the new unit. | When curator owner, it will transfer ownership to the new unit. | ||
When editable by curator, it will remove the dead unit and register the new one. | When editable by curator, it will remove the dead unit and register the new one. | ||
|Description= | |||
____________________________________________________________________________________________ | |||
| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] |Syntax= | |||
|p1=newUnit: [[Object]] - New unit|Parameter 1= | |||
|p2=oldUnit [[Object]] - Old, dead unit|Parameter 2= | |||
| [[Boolean]]|Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Curator]] |See also= | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 17:04, 22 June 2018
Description
- Description:
- Restore unit for curators after respawn. When curator owner, it will transfer ownership to the new unit. When editable by curator, it will remove the dead unit and register the new one.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [newUnit,oldUnit] call BIS_fnc_curatorRespawn
- Parameters:
- newUnit: Object - New unit
- oldUnit Object - Old, dead unit
- Return Value:
- Boolean
Examples
- Example 1:
[BIS_newUnit,BIS_oldUnit] call BIS_fnc_curatorRespawn;
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