---
name: "BIS_fnc_destroyer01EdenDelete"
type: function
status: ok
groups: ["Destroyer"]
arma3_since: "1.84"
locality: {"argument": null, "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_destroyer01EdenDelete
revid: 379554
updated: 2026-10-31T13:48:14Z
---

# BIS_fnc_destroyer01EdenDelete

*Function · Destroyer · Arma 3 v1.84*

Locality: effect **global**

## Description

Deletes all parts of a multi-part ship, i.e. every object stored in the base object's `"bis_carrierParts"` variable (see [BIS_fnc_destroyer01Init](../functions/BIS_fnc_destroyer01Init.md)).
The function is called by the `UnregisteredFromWorld3DEN` event handler of the ship's base class, so that the parts disappear when the ship is deleted in the Eden Editor. It does nothing outside the server.

## Syntax

```sqf
[ship] call BIS_fnc_destroyer01EdenDelete
```

**Parameters:**

- `ship`: [Object](../topics/Object.md) - the ship's base object

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

## Examples

### Example 1

Event handler of the ship's base class:

```cpp
class EventHandlers
{
    UnregisteredFromWorld3DEN = "_this call BIS_fnc_Destroyer01EdenDelete";
};
```

## See also

[BIS_fnc_destroyer01Init](../functions/BIS_fnc_destroyer01Init.md) · [BIS_fnc_destroyer01EdenInit](../functions/BIS_fnc_destroyer01EdenInit.md) · [BIS_fnc_destroyer01PosUpdate](../functions/BIS_fnc_destroyer01PosUpdate.md) · [BIS_fnc_carrier01EdenDelete](../functions/BIS_fnc_carrier01EdenDelete.md)

<sub>Source: [BI Community Wiki — BIS fnc destroyer01EdenDelete](https://community.bistudio.com/wiki/BIS_fnc_destroyer01EdenDelete) (revision 379554).</sub>
