gruppe-adler / TvT_UrbanOps.Altis

Dynamic urban seize/defend mission for all maps.
1 stars 1 forks source link

delete early disconnected units #71

Closed McDiod closed 6 years ago

McDiod commented 6 years ago

Early disconnects lead to dead vanilla units.

untested:

//possibly only server, not sure how mission event handlers work
addMissionEventHandler ["HandleDisconnect",{
    params [["_unit",objNull]];
    if (_unit getVariable ["GRAD_loadout_applicationCount",0] < 1) then {
        deleteVehicle _unit;
    };
    false
}];
McDiod commented 6 years ago

wird erstmal von ACE übernommen