DestroyerX 0 Posted February 25, 2003 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! So, is there a way to let them join the player via Activation Field or something? Thanks in advance. Share this post Link to post Share on other sites
RED 0 Posted February 25, 2003 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
DestroyerX 0 Posted February 25, 2003 Is 'playergroup' the name of the group the player is in? 'Cause, I don't know how to name a group. Share this post Link to post Share on other sites
RED 0 Posted February 25, 2003 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
MrZig 0 Posted February 25, 2003 Not all the players but the leaders init field Share this post Link to post Share on other sites
DestroyerX 0 Posted February 25, 2003 Thanks, works like a charm! Share this post Link to post Share on other sites
Bart.Jan 0 Posted February 25, 2003 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
MrZig 0 Posted February 25, 2003 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 Share this post Link to post Share on other sites
Chris Death 0 Posted February 25, 2003 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
MrZig 0 Posted February 26, 2003 That's basicly what I just said .. Share this post Link to post Share on other sites