Jump to content
Sign in to follow this  
syco

The ten million dollar question

Recommended Posts

I don't know HOW the hell to do this:

Scenario: I have a truck(truck A),  with 6 guys+driver(driver is leader) driving into a repair compund that has 2 empty MG trucks (trucks B & C) and 2 empty APCs (APC crew is already there). My goal is to get two of the guys from truck A to get into Truck B (one driver and one gunner), and two more of the guys to get into truck C (one driver and one gunner)....(still with me?)... I already have a GETIN WP for the 2 APC crews (synchronised with Truck A's arrival)....When everyone gets into their respective trucksand APCs, they are ALL to follow truck A BACK to the starting point.

Now the $10,000,000 question is, How do I get the 4 guys from truck A to get out of truck A, mount their respsective trucks B&C) in their respective positions, then have all vehicles (both APCs and trucks B&C) follow truck A (the leader)???

Remember: The two APC crews are NOT part of the original truck group, but need to follow truck A.

I'm stuck here and have NO CLUE as to how to solve this.

Share this post


Link to post
Share on other sites

Not sure, but i think you can use the DOMOVE command or something like that to make the guys get into the right trucks. As for the APC crew to follow them back to the start point, you could use this:

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

Put this into the APC's crew init line, and "sarge" would be the name of the leader of the first group. (you can change the name if you want.)

Or you could just have the APC crew to join their group after they load into their APC with a couple of waypoints. Not sure if this all works, but I hope it helps.

Share this post


Link to post
Share on other sites

I'll try it and let you know.....thanks

Share this post


Link to post
Share on other sites

Use the assignasdriver and assignasgunner command, you could also use the moveindriver and moveingunner commands once the units are out of the truck.

RED

Share this post


Link to post
Share on other sites

RIGHT then.

Firstly you need to name your 4 guys. When the truck stops, youn need a trigger that either sets off an "eject" script (to make them get out one after another), or has this in it's activation field:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">"UnassignVehicle _x" foreach [s1, s2, s3, s4]<span id='postcolor'>

That's presuming you've named them s1-s4. Once theyre out of the truck you need to (as RED said) "AssignAsGunner" and "AssignasDriver" them in pairs to the MG trucks I'll presume you've named already.

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

etc.

Then give them an "OrderGetin" command

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[s1, s2, s3, s4] OrderGetin true<span id='postcolor'>

Once that's all been done, get the APCs to join the leader's group by either putting a "join" WP after their "getin" one directly over their new leader. Or by a bit of code..

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[apcdriver1, apcdriver2, apcgunner1, etc] join group TruckDriver<span id='postcolor'>

If you don't want them to all be in the truck's group, and just following, then I'm not too sure. I've seen a couple of script-snippets at OFPEC, but I've never looked at them myself.

Hope this helps. smile.gif

Share this post


Link to post
Share on other sites

Thanks fellas...I'll try it out and report on it later.

Share this post


Link to post
Share on other sites

heh heh....How about a beer instead brother?

Actually, there's a bloke on opflashpoint.org (screenname 00 DC 15) that actually put it all together for me and emailed me the mission so that I may use it in mine. Now THATS a helpful guy!!

Thanks to you guys too.

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  

×