OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Sol Fire on 26 Mar 2003, 22:32:37

Title: Convoy
Post by: Sol Fire on 26 Mar 2003, 22:32:37
ok im really bugged with this

how would i make a Convoy(Preferably with tanks) and make them STAY on the road! ???

tanks tend to stray away from the road and go almost Straight to the Destination or wichever way is "Quicker"
 >:(

Thanks for your time etc.. etc.. etc..
Title: Re:Convoy
Post by: xero on 26 Mar 2003, 22:43:52
type this in the init box:

tankname setbehaviour "safe";

(tankname = name of tank obviously. Or you could use 'this' instead of 'tankname')

Then put the waypoint to their destination and they should stay on the road. Try experimenting with the other behaviour types, I think they may work too.
Title: Re:Convoy
Post by: Sol Fire on 26 Mar 2003, 22:49:25
lol never tried that  ;D
Title: Re:Convoy
Post by: macguba on 27 Mar 2003, 00:03:08
The vehicles in a convoy will order themselves by number in the group - so 1 will be first, 2 second .....12 last.    Note that which unit counts as the vehicle is different for armour (commander/gunner) and cars/lorries (driver.)   (I think ... you may need to check that.)(

The group will try to organise itself into the right order before setting off, which can lead to problems if they are in an confined space like a road through a wood.   You'll probably need to experiment with starting positions until you get it right.  

Oh, and remember to set formation "column".

Don't use too many waypoints as they pause at each one.

If you are having trouble with tanks put a soft vehicle as the group leader.    It will stick to the road.   I dunno if the tanks will follow, but its worth a try.