Home   Help Search Login Register  

Author Topic: Making it impossible to die  (Read 460 times)

0 Members and 1 Guest are viewing this topic.

OFP Guy

  • Guest
Making it impossible to die
« on: 20 Mar 2003, 01:43:11 »
How can I make it so that a specified unit cannot die?

Thanks for any answers

evil

  • Guest
Re:Making it impossible to die
« Reply #1 on: 23 Mar 2003, 01:13:08 »
A little spinoff of 1 of my attempted scrips might be able to help you.  I was able to bring destroyed vehicles back in perfect order.  I'm sure i can prevent them from being destroyed completely.  Unfortunatly, I've had minimal success with infantry.  I'll be back with the script shortly!

evil

  • Guest
Re:Making it impossible to die
« Reply #2 on: 23 Mar 2003, 02:10:09 »
OK I'm back.  I pretty much redid the whole script.  Now it works on anything!  Although there are some issues with easily destryed vehicles looking screwed up... But they still work ok.  Includes a sample mission and so much information on the script almost anyone can edit it.

red devil

  • Guest
Re:Making it impossible to die
« Reply #3 on: 25 Mar 2003, 19:02:24 »
or u cud just put this in the intel field  :o

this addeventhandler ["hit", {_this select 0 setdammage 0}]