Jump to content
Sign in to follow this  
Dragster

Need help with a trigger

Recommended Posts

Im trying to make a mission and need help with one of the triggers.

Im gonna save 4 hostage called civ2,civ3,civ4,civ5

i want them to join my groupe when I have killed the hostage taker and then gotten close enouge to the hostages.

the trigger im using now are

Activation none

type none

condition ! (alive kidnapper) && civ2 distance DELTA1 <15

on act [civ2] join DELTA1;[civ3] join DELTA1;[civ4] join DELTA1;[civ5] join DELTA1;

This kinda work but would like some help to make it better.

The problem with this trigger are that if the soldier called delta1 dies i cant get the hostages to join me. I would like to make the trigger work if i have killed the kidnapper and any of the soldiers in the two diffrent blufore groups the mission have get close enough to the hostages so they will join the group that get to them.

I have used civ 2 distance Delta1 <15 becouse civ2 are the only hostage that need to survive to finish the mission.

The soldiers in the groups are called delta1, delta2, delta3,delta4 in the first group and Delta1_1,delta1_2,delta1_3,delta1_4 in the second group

Share this post


Link to post
Share on other sites

Been meaning to test this for a while.

axis 15,15

Blufor present

condition

!(alive kidnapper) && (civ2 distance  (thislist select 0))  <= 15 

on act

[civ2,civ3,civ4,civ5] join (thislist select 0);

that should do it.

It would be better if you could check any of the civs in case civ2 gets killed but I don't know how yet.

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  

×