---
name: "BIS_fnc_respawnGroup"
type: function
status: ok
groups: ["Respawn"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_respawnGroup
revid: 328614
updated: 2022-07-13T17:04:09Z
---

# BIS_fnc_respawnGroup

*Function · Respawn · Arma 3 v1.00*

Locality: executed with **spawn**

## Description

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

## Syntax

```sqf
[oldUnit, newUnit] call BIS_fnc_respawnGroup
```

**Parameters:**

- `oldUnit`: [Object](../topics/Object.md)
- `newUnit`: [Object](../topics/Object.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

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

## See also

[BIS_fnc_respawnMenuInventory](../functions/BIS_fnc_respawnMenuInventory.md) · [BIS_fnc_respawnMenuPosition](../functions/BIS_fnc_respawnMenuPosition.md) · [BIS_fnc_respawnMenuSpectator](../functions/BIS_fnc_respawnMenuSpectator.md) · [BIS_fnc_respawnSeagull](../functions/BIS_fnc_respawnSeagull.md) · [BIS_fnc_respawnSide](../functions/BIS_fnc_respawnSide.md) · [BIS_fnc_respawnSpectator](../functions/BIS_fnc_respawnSpectator.md) · [BIS_fnc_respawnWave](../functions/BIS_fnc_respawnWave.md)

<sub>Source: [BI Community Wiki — BIS fnc respawnGroup](https://community.bistudio.com/wiki/BIS_fnc_respawnGroup) (revision 328614).</sub>
