BIS fnc curatorRespawn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 10: Line 10:
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.


| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]]
| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]]
Line 21: Line 20:


|x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>
|x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>


| [[Curator]]
| [[Curator]]

Revision as of 23:38, 18 January 2021

Hover & click on the images for description

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:
Curator

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