EvilZom 0 Posted March 3, 2002 I have a group of ten soldiers who's first mission is to clear out an enemy base... When the base is clear I have a Helo pickup. How do I get only the AI players to get in the chopper leaving only the "players" to move on to the next Objective... Any help is appreciated. Zom Share this post Link to post Share on other sites
Intruder 0 Posted March 3, 2002 Try putting this in an activation field: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> playername Join GrpNull <span id='postcolor'> He should leave the group then. Share this post Link to post Share on other sites
kfine 0 Posted March 7, 2002 Try this: Ok, you want to join and after a while detach from the group and go you seperate ways. This is how you can do it. Or in a famous equation: WP=(M*T)^n Waypointpath = (Marker*Trigger)^number of desired waypoints Insert a group. Put in its initfield: Alpha=group this NOTE: do not use more than 11 units including the leader. A group can only have 12 members so if it contains 12 units it's impossible to join with this group. This group is now labelled 'Alpha'. Make a waypointpath [MOVE] for this group. This will be the WHOLE waypointpath for this group. Now insert a unit. Name this unit, let's say, Jones. He is the one that will join the group and after a while will leave the flock and go his own way. Make a waypoint [JOIN] near the 1st groupwaypoint and draw a SYNCHRONIZE line between these waypoints. In this way the group will wait until our unit has joined this group. Jones will now go, within the group, to groupwaypoint 2 In groupwaypoint 2 insert in the On activation field: [Jones] join GrpNull; Jones is on its own again. The group will follow their wayppoint path as made earlier. Well. there he is then. After a join GrpNull new 'real' waypoint on his path wil not work. We have to make new waypoints with the help of invisible markers. Place a Marker [type EMPTY] and name it W1 on the map where the next waypoint for Jones (after the groupsplit) is. Put in the groupwaypoint2 On activationfield after the [Jones] join GrpNull: line the following: [Jones] commandMove GetMarkerpos "W1" Now Jones will go to this waypoint. Note: the WP On activation line looks like: [Jones] join GrpNull;[Jones] commandMove GetMarkerpos "W1" It's also possible to make a whole new group of more than one unit. All the members of the original group MUST have a name. e.g A1,A2,A3,A4, etc. To form a new group put the line: newgrp = formLeader Jones; [a1, a2, a3, a4] join newgrp The new group will now follow Jones on his path, while the other group follws their path. You can also make more waypoints after W1 for Jones with the help of triggers. Place a second empy marker, named W2, on the map. Place a trigger with radius 5 over waypointmarker W1 and group this trigger with Jones. Put in the On activationfield of this trigger: [Jones] commandMove GetMarkerpos "W2" It's also possible to use the distance trick to trigger it. Name the trigger TW1 and put in the conditionfiled of this trigger: Jones Distance TW1 < 5 In this way you don't have to group Jones with all the triggers. You can now copy paste the Markerwaypoint/trigger pairs and only have to edit their correct names; TW1 with W1 and TW2 with W2. That's all folks ! I got this from www.ofpeditingcenter.com. I hope it helps. ;) Share this post Link to post Share on other sites