Jump to content
Sign in to follow this  
revenicus

getting something to happen on one units death

Recommended Posts

I can't seem to find anything in search for triggering things to happen based on just 1 units' death, for an assassination type mission.

in the wiki I see an event 'killed'. but it only lists the events, I can't seem to find the syntax. I want to do this:

on person1's death, do things. I'm also wondering if its any more complicated to do this for a group.

Because I'd like to be able make some coop missions where you have to kill a key unit, or units, and then escape to extractoin while there are still enemies out there after you.

Share this post


Link to post
Share on other sites

Create a unit(the man to be asassinated)!

In that units name 'field' name him say 'man1'

Then create a trigger and in the 'activation' put- not (alive man1)

Then you can put in the effects field of the trigger some text to say, Job done guys target assassinated

Share this post


Link to post
Share on other sites
Create a unit(the man to be asassinated)!

In that units name 'field' name him say 'man1'

Then create a trigger and in the 'activation' put- not (alive man1)

Then you can put in the effects field of the trigger some text to say, Job done guys target assassinated

yeah thanks so much it also helped me!

Share this post


Link to post
Share on other sites

Np guys!

Btw if you had 3 targets to be assassinated?

name the 3 seperate units:- man1 , man2 , man3

trigger activation:-

not (alive man1) and not (alive man2) and not (alive man3)

then text would not be active untill all 3 were killed!

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  

×