{"name":"BIS_fnc_respawnEndMission","operator":null,"title":"BIS fnc respawnEndMission","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_respawnEndMission","revid":363227,"updated":"2024-03-26T10:50:29Z","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":null,"description":"End a mission if all players are dead *and* there are no more respawn tickets (if any).\n- **Standard syntax** is for when Respawn is \"NONE\", \"BIRD\", \"GROUP\" or \"SIDE\"\n- **Alternative syntax** is for when Respawn is \"INSTANT\" or \"BASE\"\n  \n\n> [!IMPORTANT]\n> Only works in Multiplayer!","syntaxes":[{"syntax":"call BIS_fnc_respawnEndMission","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"Nothing","types":["Nothing"],"description":"the script doesn't end","text":"Nothing - the script doesn't end"}},{"syntax":"unit call BIS_fnc_respawnEndMission","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\ncall BIS_fnc_respawnEndMission;\n```","code":["call BIS_fnc_respawnEndMission;"]},{"text":"```sqf\nplayer call BIS_fnc_respawnEndMission;\n```","code":["player call BIS_fnc_respawnEndMission;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_endMission","BIS_fnc_respawnTickets","BIS_fnc_missionRespawnType","playableUnits","isMultiplayer"],"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":[]}