a3_exile_occupation/scripts/reactions/unitMPKilled.sqf
second_coming abd4462132 v25 updates & fixes
added fastNights, configurable gear for both bandits and survivors,
static spawning for both bandit and survivors
2016-04-20 15:25:17 +01:00

12 lines
272 B
Plaintext

// Get the variables from the event handler
_unit = _this select 0;
_killer = _this select 1;
// remove all eventhandlers from the dead unit
_unit removeAllMPEventHandlers "mphit";
if(SC_debug) then
{
{ deleteVehicle _x; } forEach attachedObjects _unit;
};