Arma 3 Scripting

Function in Curator

BIS_fnc_curatorRespawn

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

[newUnit,oldUnit] call BIS_fnc_curatorRespawn

Parameters:

Returns: Boolean

Examples

Example 1

[BIS_newUnit,BIS_oldUnit] call BIS_fnc_curatorRespawn;

See also

Arma 3: Curator