---
name: "BIS_fnc_removeRespawnInventory"
type: function
status: ok
groups: ["Respawn"]
arma3_since: "1.60"
locality: {"argument": null, "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_removeRespawnInventory
revid: 327903
updated: 2022-07-13T11:42:18Z
---

# BIS_fnc_removeRespawnInventory

*Function · Respawn · Arma 3 v1.60*

Locality: effect **global**

## Description

Remove a respawn inventory added by [BIS_fnc_addRespawnInventory](../functions/BIS_fnc_addRespawnInventory.md).

## Syntax

```sqf
[target, id] call BIS_fnc_removeRespawnInventory
```

**Parameters:**

- `target`: [Namespace](../topics/Namespace.md), [Side](../topics/Side.md), [Group](../topics/Group.md) or [Object](../topics/Object.md)
- `id`: [Number](../topics/Number.md)

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

## Examples

### Example 1

```sqf
[west, 1] call BIS_fnc_removeRespawnInventory;
```

### Example 2

```sqf
private _myRespawnInventory = [missionNamespace,"ATSniper"] call BIS_fnc_addRespawnInventory;
_myRespawnInventory call BIS_fnc_removeRespawnInventory;
```

## See also

Arma 3: Respawn · [BIS_fnc_addRespawnInventory](../functions/BIS_fnc_addRespawnInventory.md) · [BIS_fnc_getRespawnInventories](../functions/BIS_fnc_getRespawnInventories.md) · [BIS_fnc_setRespawnInventory](../functions/BIS_fnc_setRespawnInventory.md)

## Community notes

**Krzmbrzl00** — 2016-07-01

To remove all inventories that are currently available you can use the following:

```sqf
{
    [missionNamespace, _x] call BIS_fnc_removeRespawnInventory;
} forEach ([missionNamespace, true] call BIS_fnc_getRespawnInventories;
```

If all available inventories are removed, the default inventory for the current unit (as it would be placed in the editor) will be added automatically.

<sub>Source: [BI Community Wiki — BIS fnc removeRespawnInventory](https://community.bistudio.com/wiki/BIS_fnc_removeRespawnInventory) (revision 327903).</sub>
