I tried several time to allow the player to be wounded but not killed. I tried this: "this addeventhandler ["randomtext", {if (player damage) < 0.5 then rs1 allowdamage false}];"
with "rs1" being the name of that unit. I have tried "this" and "_this".
This is probably not the right code to use at the start.
Can someone help please?