Jump to content
Sign in to follow this  
dale0404

Pilot joining the rescuers...

Recommended Posts

Peeps,

I am in the process of making a mission where you have to find a pilot and escort him to the extraction point.

However to make it more interesting the pilot can be in any one of 6 positions on the map.

The question is how do I make the pilot join the group once I find him?

Cheers

Dale

Share this post


Link to post
Share on other sites

Use the waypoint "join" or "join and lead"

Share this post


Link to post
Share on other sites

yep cheers gents but isnt working.

This is what I have in a trigger that covers all possible positions of the pilot:

Condition: {_x distance pilot < 3} count playableunits > 0

Activation: [pilot] join team1;

Shouldn't this work?

---------- Post added at 05:54 PM ---------- Previous post was at 05:53 PM ----------

ryguy.

I don't down where the pilot is until I search all 6 possible locations so how would a waypoint work?

---------- Post added at 06:30 PM ---------- Previous post was at 05:54 PM ----------

Fixed it sort of, I added a 'addaction' command for the pilot to follow me.

Which leads onto, how do I remove the 'Follow me" command once the pilot has joined my group?

cheers

Dale

Share this post


Link to post
Share on other sites

just issue a pilot domove (getPos player) instead of follow and pilot will move to your position and then join into formation

use distance checks and repeat domoves if players are moving fast away from position.

Share this post


Link to post
Share on other sites

I think the waypoint is anchored to the player no matter what.

Share this post


Link to post
Share on other sites
{_x distance pilot < 3} count playableunits > 0

Is absolutly correct... but you have to test it in Multiplayer Editor. playableUnits only works in MP, not in SP.

;)

You can use it in both modes with:

{_x distance pilot < 3} count playableunits + [player] > 0

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  

×