OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: OFP Guy on 20 Mar 2003, 01:43:11
-
How can I make it so that a specified unit cannot die?
Thanks for any answers
-
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!
-
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.
-
or u cud just put this in the intel field :o
this addeventhandler ["hit", {_this select 0 setdammage 0}]