{"name":"BIS_fnc_destroyer01EdenDelete","title":"BIS fnc destroyer01EdenDelete","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_destroyer01EdenDelete","revid":379554,"updated":"2026-10-31T13:48:14Z","groups":["Destroyer"],"status":"ok","games":{"arma3":"1.84"},"since":"arma3 1.84","arma3_since":"1.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).\nThe 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.","syntaxes":[{"syntax":"[ship] call BIS_fnc_destroyer01EdenDelete","params":[{"name":"ship","type":"Object","description":"the ship's base object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"text":"Event handler of the ship's base class:\n\n```cpp\nclass EventHandlers\n{\n    UnregisteredFromWorld3DEN = \"_this call BIS_fnc_Destroyer01EdenDelete\";\n};\n```"}],"see_also":["BIS_fnc_destroyer01Init","BIS_fnc_destroyer01EdenInit","BIS_fnc_destroyer01PosUpdate","BIS_fnc_carrier01EdenDelete"]}