Jump to content
Sign in to follow this  
DestroyerX

Join problem

Recommended Posts

Hey all,

I have 3 units that must join the player once a trigger went off. When the trigger is activated the 3 units don't join the player, but they run all the way to the starting point of the player! crazy.gif

So, is there a way to let them join the player via Activation Field or something?

Thanks in advance. smile.gif

Share this post


Link to post
Share on other sites

Yes,

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[unitname1, unitname2, unitname3] join playergroup<span id='postcolor'>

RED

Share this post


Link to post
Share on other sites

Is 'playergroup' the name of the group the player is in? 'Cause, I don't know how to name a group. smile.gif

Share this post


Link to post
Share on other sites

Name a group with the following line in the players init field:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">nameofgroup = group this<span id='postcolor'>

RED

Share this post


Link to post
Share on other sites

You can also use :

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

[unitname1, unitname2, unitname3] join player

<span id='postcolor'>

Share this post


Link to post
Share on other sites

Yea the </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[unitname1, unitname2, unitname3] join player<span id='postcolor'> one is for them to just join you, and if you want soldiers to join an AI group you use </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[unitname1, unitname2, unitname3] join nameofgroup<span id='postcolor'>

Nameofgroup being the name of the AI group you want them to join wink.gif

Share this post


Link to post
Share on other sites

Or if you want them to join AI group, you can aswell refer to

the leader himself by: [unit1,unit2,unit3] join leadername

or by: [unit1,unit2,unit3] join leader groupname

~S~ CD

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  

×