If a player dies in a static weapon and respawns deleting the dead corpse (_this select 1 from respawn eventhandler) is not possible.
The dead coprse does not vanish.
If a player dies in a static weapon and respawns deleting the dead corpse (_this select 1 from respawn eventhandler) is not possible.
The dead coprse does not vanish.
Please download the following simple test mission:
https://drive.google.com/file/d/0B9JJUfoq3VfmMi1oZEV5VTVLaWc/view?usp=sharing
You can run it in a hosted session. After about 10 seconds after mission start a satchel explodes near the player killing him (don't leave the static MG).
After respawn the dead corpse is not gone even though there is a respawn eventhandler attached to the player in init.sqf which deletes the dead corpse with deleteVehicle.
Forgot to mention, it' is in 1.60 and 1.62RC (and most likely in 1.63 Dev too)
Forgot to mention another thing... If you delete the static weapon then also the corpse disappears (animation issue?)