OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: xCIA_BlackThorn on 23 May 2005, 02:45:16
-
I have in the Condition of a Trigger: GetDammage StaticNV > 0.1
On Activation: StaticNV SetDammage 0
But this is not working because when i shoot the StaticNV, it is destroyed and does not regain its health as planned. Maybe I am going about this the wrong way?
Thanks in advance.
-
What's StaticNV?
There is a toughunit script for soldiers at the editors depot...
-
a trigger may not be fast enough to catch the bullet as it were. i'd suggest adding a 'hit' event handler (http://www.ofpec.com/editors/resource_view.php?id=543) to StaticNV, which might be a wee bit faster.
EDIT - oh, and it's 'invincible' :P
-
There have been a couple of threads on this in the last few weeks, try the forum search function. ;)