Jump to content
Sign in to follow this  
meade95

How to script this? Trigger when person dies

Recommended Posts

I am looking to create a situation that once a guy / security element is KIA, it sets a trigger off where an HVT at that point to try to escape / evade.

I just don't know enough about scripting to do this yet.

I belive using the script

!alive unit "X"

(may possibly be right). But could someone walk me through it a little better.

What I'm going to do is have the trigger (of unit X being killed) sync with a move order on an HVT (who will be back at base camp). His security element being killed will be his first ring of defense that lets him know he should get moving...

Share this post


Link to post
Share on other sites

Hiya,

use !(alive Unitname), then sync the trigger to the waypoint before the actual Move waypoint to the Evac zone

;)

Share this post


Link to post
Share on other sites

ok....so do I use the ()?

Would it be written just like this

! (alive HVT_Security)

Is that it? Where "HVT_Security" is the units name..

Share this post


Link to post
Share on other sites

connect the unit with the trigger and set it on not present, f5 key like you do it with waypoint/trigger.

radius 0, otherwise it cheks if unit left the area.

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  

×