BIS_fnc_destroyer01EdenDelete
- Global effect
- Arma 3 v1.84
Function · Markdown · JSON · original wiki page
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).
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
[ship] call BIS_fnc_destroyer01EdenDelete
Parameters:
ship: Object - the ship's base object
Returns: Nothing
Examples
Example 1
Event handler of the ship's base class:
class EventHandlers
{
UnregisteredFromWorld3DEN = "_this call BIS_fnc_Destroyer01EdenDelete";
};
See also
BIS_fnc_destroyer01Init · BIS_fnc_destroyer01EdenInit · BIS_fnc_destroyer01PosUpdate · BIS_fnc_carrier01EdenDelete