Jump to content
Sign in to follow this  
mailor

Problem with event correlation

Recommended Posts

Hi!

I am trying to create my first custom mission. I already have a problem, and hope someone can help me out.

Ok here it is:

Objectives are to pick up a unit A from a farm, and unit B from a town about 2 km south of this farm.

Now here is the problem: Ho can i avoid forcing the player to pick up unit A before unit B?

I can only set a waypoint to unit A and synchronize it with the waypoint of unit A "Join". Ok so far so good. The next Player-waypoint I set is close to Unit B, and i sync B's waypoint with it (join). Ok Now i have both of them under my command.

BUT! If I head to Unit B first, it won't join me. So The player always has to collect unit A first.

Is there a way to avoid this? So that it doesn't matter if you collect A or B first?

thx, mailor

Share this post


Link to post
Share on other sites

Instead of placing join waypoints place move wps. Create 2 triggers. Both axis A,B set 0,activation nobody once,

for 1st trigger:

condition :(player distance manA)<5

on activation : [manA] join player

for 2nd trigger:

condition :(player distance manB)<5

on activation : [manB] join player

Share this post


Link to post
Share on other sites

Another idea:

1.For B : set MOVE waypoint before JOIN and synchronize it

with A's JOIN. This way B won't move to his JOIN before A completed JOIN of his.

Hope it helps.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (kuzmich @ April 01 2002,11:02)</td></tr><tr><td id="QUOTE">Another idea:

1.For B : set MOVE waypoint before JOIN and synchronize it

with A's JOIN. This way B won't move to his JOIN before A completed JOIN of his.

Hope it helps.<span id='postcolor'>

I think that Mailor don't want to join man A and B in exact order A -> B. He wants join other memebers in order players wants to so player can join with man B first and then collect man A.

Share this post


Link to post
Share on other sites

Thanks BartJan, you helped me out a lot!

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  

×