Home   Help Search Login Register  

Author Topic: General Convoy Questions...  (Read 616 times)

0 Members and 1 Guest are viewing this topic.

Offline AirCav

  • Members
  • *
  • I'm a llama!
General Convoy Questions...
« on: 13 Jan 2005, 05:48:20 »
Hello again everyone,

I'm putting together a rather large convoy.  Having a few problems with the scripts.

1.  To get a group to board a truck.  You put the following line in the vehicle's load waypoint "_x assignascargo TruckName" foreach units groupname;.  You then creat a Get In waypoint from the group and put the following line in the On Activation field: "[_x] ordergetin true"foreach units GroupName.  Synchonize the two waypoints and your done.

Here's the problem, I have 10 trucks in this convoy.  How do I tell this group to board a specific truck?  The only place I see it in is the truck's load waypoint.

2.  I'm putting together a convoy that looks like this:
<-M2A2-M2A2-RefuelTruck-RefuelTruck-RefuelTruck-5TonOpen-M113Ambulance-RepairTruck-M2A2-M2A2<.  I assigned all of the drivers to one group.  The M2A2 gunner's and commanders are in a different group.  I have TC's for all of the trucks assigned to a third group and a rifle Squad assigned as the forth.

a.  I'm trying to get the M2A2 gunners to stay in combat mode while the comvoy moves in careless mode.  The objective is to keep the convoy moving during contact while the turrets provide suppressive fire.  The problem has been whenever contact occurs, the other groups are booted off the trucks.  How do I get around this?  

b.  I also want to put a check in so the convoy doesn't leave anyone behind.  Is there a script for this?


-Air

1.46 user.  
« Last Edit: 13 Jan 2005, 05:50:27 by AirCav »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:General Convoy Questions...
« Reply #1 on: 13 Jan 2005, 14:34:49 »
1.  If you want 1 group to board 1 truck you don't need any code.    Just use the waypoints, that's what they are for.

You know the code to make a group board a specific truck, you quoted it in your question.   The only question is where to put it.    Waypoint, trigger or script it doesn't matter, as long as you make the code execute at the right time.      

Code in a waypoint does not have to relate to the group to whom the waypoint belongs.



2b.   Create an array of all you soldiers.    Whenever you want to check that everybody is aboard use a vehicle command something like this

? vehicle loon1 == loon1 : he is still walking so whatever consequence you want

Plenty of reviewed ArmA missions for you to play

Offline AirCav

  • Members
  • *
  • I'm a llama!
Re:General Convoy Questions...
« Reply #2 on: 14 Jan 2005, 00:39:32 »
Thanks for the help.  Solved.

Plus the reign of ignorance is over.  I just discovered David Craven's Open Source Mission Additor Guide.  It's a godsend.

-Air

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:General Convoy Questions...
« Reply #3 on: 14 Jan 2005, 01:49:37 »
The combined tute by Rob, Hangfyre and snYpir is arguably even better.      In fact everything in Tutes-Getting started is good.
Plenty of reviewed ArmA missions for you to play

Offline AirCav

  • Members
  • *
  • I'm a llama!
Re:General Convoy Questions...
« Reply #4 on: 14 Jan 2005, 06:28:19 »
Followup:

I thought I had the convoy issue solved.  Nope.  When I had all the drivers together, the M2A2 commanders took over for them and took the bradleys in a different direction from the comvoy.  Here's the issue.  I stated before the chalk order:

<-M2A2-M2A2-RefuelTruck-RefuelTruck-RefuelTruck-5TonOpen-M113Ambulance-RepairTruck-M2A2-M2A2<

I currently have the M2A2 commanders and the other vehides drivers in one group.  The M2A2 Driver and Gunners are in another group.  The first 8 vehicles head down the road at a snails pace,  while the last two M2A2's remain stationary and twitch in the direction of the rest of the convoy.  

Is there a script for creating groups larger then 12?  Does anyone know another solution to this prob?

-Air

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:General Convoy Questions...
« Reply #5 on: 14 Jan 2005, 11:43:41 »
I am afraid it is not possible to have more than 12 loons in a group.