Jump to content
Sign in to follow this  
morthawt

Script to constantly set health to full, aka cannot die? No parachute :(

Recommended Posts

I would like the ability to make sure that when I hit the ground from high altitude that I won't die on impact. Is there a simple one liner init script I can apply on a spawn or something so that it will not die?

Share this post


Link to post
Share on other sites

Not sure if it applies to physics/fall damage, but try adding "this allowDamage false" in the init line of the invincible unit.

Share this post


Link to post
Share on other sites

That works great Kildar! Now, what are some easy ways I could toggle this on and off at certain times such as when someone hits the ground or what ever? Such as lets say I have a trigger for someone to walk into, how can I target and effect the particular person who walked into that trigger and make them unable to take damage or accept damage again?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×