{"name":"BIS_fnc_curatorRespawn","operator":null,"title":"BIS fnc curatorRespawn","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_curatorRespawn","revid":309421,"updated":"2022-05-05T12:04:37Z","groups":["Curator"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.16"}],"since":{"game":"arma3","name":"Arma 3","version":"1.16"},"arma3_since":"1.16","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Restore unit for curators after respawn.\nWhen curator owner, it will transfer ownership to the new unit.\nWhen editable by curator, it will remove the dead unit and register the new one.","syntaxes":[{"syntax":"[newUnit,oldUnit] call BIS_fnc_curatorRespawn","since":null,"effect":null,"exec":null,"params":[{"name":"newUnit","type":"Object","optional":false,"default":null,"description":"new unit","types":["Object"],"since":null,"text":"newUnit: Object - new unit"},{"name":"oldUnit Object","type":null,"optional":false,"default":null,"description":"old, dead unit","types":["Object"],"since":null,"text":"oldUnit Object - old, dead unit"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\n[BIS_newUnit,BIS_oldUnit] call BIS_fnc_curatorRespawn;\n```","code":["[BIS_newUnit,BIS_oldUnit] call BIS_fnc_curatorRespawn;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Curator"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Curator","Functions","Introduced with Arma 3 version 1.16"],"docblock":null,"filled_from_docblock":[]}