Jump to content
Sign in to follow this  
ChevyVanDude

How to let a group join you

Recommended Posts

Hi all

I seem to be doing something wrong when it comes to letting a group join me.

Say: the player's name is: leader, and I want that man1,man2 and man3 join me when I'm in a 2 meter range.

How do I do this?

Share this post


Link to post
Share on other sites

I'm not an expert - there may be a better way to skin this cat....but:

give the AI a join waypoint, and sync it to the player's waypoint.

When both units are within range, they will join.

Share this post


Link to post
Share on other sites

Set a trigger.

Condition: leader distance man1<= 2

On Act: [man1,man2,man3] join grpNull; [man1,man2,man3] join leader;

E: leader as variable may could end in an error in the trigger. whats about leader1?

Condition: leader1 distance man1<= 2

On Act: [man1,man2,man3] join grpNull; [man1,man2,man3] join leader1;

Edited by MichaelGER

Share this post


Link to post
Share on other sites

tell us a little bit more about the situation... that could help to find the best solution.

E: Michael told already... think its the best way

Edited by davincy81

Share this post


Link to post
Share on other sites

I will try MichealGER's post in a minute, then I will reply.

Yeah, it worked.

Dispite the distance was to short.

I made it 20.

Edited by Thomas1986

Share this post


Link to post
Share on other sites

And if you have issues with the teamleader after the joining you may select a teamleader by:

group leader1 selectLeader leader1;

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  

×