{"name":"BIS_fnc_respawnGroup","operator":null,"title":"BIS fnc respawnGroup","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_respawnGroup","revid":328614,"updated":"2022-07-13T17:04:09Z","groups":["Respawn"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":"spawn","description":"Camera script used by the \"group respawn\" template - when the player dies and gets transferred to the new group member.","syntaxes":[{"syntax":"[oldUnit, newUnit] call BIS_fnc_respawnGroup","since":null,"effect":null,"exec":null,"params":[{"name":"oldUnit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"oldUnit: Object"},{"name":"newUnit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"newUnit: Object"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n// in onPlayerRespawn.sqf\nparams [\"_newUnit\", \"_oldUnit\", \"_respawn\", \"_respawnDelay\"];\n[_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;\n```","code":["// in onPlayerRespawn.sqf\nparams [\"_newUnit\", \"_oldUnit\", \"_respawn\", \"_respawnDelay\"];\n[_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_respawnMenuInventory","BIS_fnc_respawnMenuPosition","BIS_fnc_respawnMenuSpectator","BIS_fnc_respawnSeagull","BIS_fnc_respawnSide","BIS_fnc_respawnSpectator","BIS_fnc_respawnWave"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Respawn","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}