Arma 3 Scripting

BIS_fnc_carrier01EdenDelete

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

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:

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