sendEventDestruction(player, -1, -1, 0);
doEventDestruction(player, -1, -1, 0);
I'm not too familiar on events that call up sentry deaths, but -1 seems to be a strange choice for arguments 1 and 2 (I believe it should be noone). Reference is the begin step event for sentry
if(global.isHost and (ownerPlayer.class != CLASS_ENGINEER or team != ownerPlayer.team or collision_circle(x,y+10,25,Sentry,false,true)>=0))
{
sendEventDestruction(ownerPlayer, noone, noone, 0);
doEventDestruction(ownerPlayer, noone, noone, 0);
exit;
}
and the scripts sendEventDestruction/doEventDestruction
idk what this has to do with the Destruction -= 1 thing (why would destruction stat be reduced by 1 is beyond me)