Jump to content
Sign in to follow this  
BulldozA

Alive condition - triggers

Recommended Posts

So I'm making a mission where players must destroy a cache before they are able to move through a certain area, I have a trigger used to kill any player that enters the area.

So what I want to do is have the condition on the trigger set to see if that objective is still alive, I tried this

condition:
alive objectname

But that didn't work, what is the correct code to check if the cache is alive or not so the trigger will not kill players once the objective has been taken?

Share this post


Link to post
Share on other sites

Use getDammage and check whether is is less than 0.99. Ammunition crates will burst into flames when the damage reaches 1.

getDammage aCache < 0.99

Regards,

Sander

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  

×