Arma 3 Scripting

BIS_fnc_respawnGroup

  • Runs with spawn
  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Camera script used by the "group respawn" template - when the player dies and gets transferred to the new group member.

Syntax

[oldUnit, newUnit] call BIS_fnc_respawnGroup

Parameters:

Returns: Nothing

Examples

Example 1

// in onPlayerRespawn.sqf
params ["_newUnit", "_oldUnit", "_respawn", "_respawnDelay"];
[_oldUnit, _newUnit] spawn BIS_fnc_respawnGroup;

See also

BIS_fnc_respawnMenuInventory · BIS_fnc_respawnMenuPosition · BIS_fnc_respawnMenuSpectator · BIS_fnc_respawnSeagull · BIS_fnc_respawnSide · BIS_fnc_respawnSpectator · BIS_fnc_respawnWave