// Deletes dead Enemy
_unit = _this select 0;

if (not (_unit isKindOf "Man")) then
{
	{_x setpos position _unit} forEach crew _unit;
	sleep 300.0;
	deletevehicle _unit;
};

if (_unit isKindOf "Man") then
{
	if(not ((vehicle _unit) isKindOf "Man")) then {_unit setpos (position vehicle _unit)} ;
	sleep 310.0;
	
	hideBody _unit;
	sleep 8;
	
	//Remove dropped weapon
	_holder = objNull;
	_holders = getPosATL _unit nearEntities ["WeaponHolderSimulated", 10];
	if (count _holders > 0) then
	{
		_holder = _holders select 0;
	};
	deleteVehicle _holder;
	
	deleteVehicle _unit;
};
