Description
Deletes all parts of a dynamic aircraft carrier in Eden Editor after its base object has been deleted.
The function reads the part list stored in the base's "bis_carrierParts" variable (created by BIS_fnc_carrier01EdenInit or BIS_fnc_carrier01Init) and deletes every part with deleteVehicle. It does nothing where isServer is false.
The function is meant for internal use: it is called from the carrier base's UnregisteredFromWorld3DEN Eden event handler.
Syntax
carrier call BIS_fnc_carrier01EdenDelete
Parameters:
carrier: Object - the carrier base object holding the"bis_carrierParts"variable
Returns: Nothing
Examples
Example 1
Carrier base config (event handlers as given in the function's header):
class EventHandlers
{
init = "_this call BIS_fnc_carrier01Init";
AttributesChanged3DEN = "_this call BIS_fnc_carrier01EdenInit";
Dragged3DEN = "_this call BIS_fnc_carrier01PosUpdate";
RegisteredToWorld3DEN = "_this call BIS_fnc_carrier01EdenInit";
UnregisteredFromWorld3DEN = "_this call BIS_fnc_carrier01EdenDelete";
};
See also
BIS_fnc_carrier01Init · BIS_fnc_carrier01EdenInit · BIS_fnc_carrier01PosUpdate · BIS_fnc_destroyer01EdenDelete