This code is completely untested. Do not merge it without testing. It looks right and it compiles, that's about all I can say.
I've got some more tweaks I'd like to make on this. Proper communication between the suicide bomber and round end protection scripts would be nice. This will enable despawning dropped IEDs. It should also use the respawn script's AddLifeForStaticKilling function to preserve the spawn ticket.
If I get those working, I'll add them as further commits to this PR.
This code is completely untested. Do not merge it without testing. It looks right and it compiles, that's about all I can say.
I've got some more tweaks I'd like to make on this. Proper communication between the suicide bomber and round end protection scripts would be nice. This will enable despawning dropped IEDs. It should also use the respawn script's
AddLifeForStaticKilling
function to preserve the spawn ticket.If I get those working, I'll add them as further commits to this PR.