Jump to content
Sign in to follow this  
macedoniaisgreek

Cancel Mission when vehicle gets damaged

Recommended Posts

I am creating a mission where one task is to steal a vehicle and deliver it while fully funticonal. Well what is the script/command to cancell the mission if the vehicle gets damaged. I could use the !alive command but this works only if the vehicle is 100% damaged and set ablaze. I want actually the mission to get cancelled if for example the tires are all blown up. And is there any way in order for the task to succeed for the trigger to recognize if the vehicle has passed the trigger? Because someone could possibly get the task and then simply activate the trigger which will make the task completed although it wasnt 100% completed. 

Thanks in advance

Share this post


Link to post
Share on other sites

Another alternative is canMove, which actually detects wheel/engine damage but is unaffected by hull/peripheral damage.

Share this post


Link to post
Share on other sites

Another alternative is canMove, which actually detects wheel/engine damage but is unaffected by hull/peripheral damage.

Thanks for the tip, I tested both and i found out that the first one works better. Thanks anyway

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  

×