Page 1 of 1

waypoints and trucks

Posted: Sat Jun 07, 2003 11:30 pm
by ducati916
i have just folowed a tut on this site about trucks goin on a path and i was wondering can u get them to stop at a waypoint and wait for say 6 or 7 seconds and then move to the next waypoint?

thanx

Posted: Sun Jun 08, 2003 8:56 am
by mohaa_rox
u connect the 1st set of waypoints. u make the truck drive to this 1st set. e.g.

targetname:wap1
target:wap2

targetname:wap2

targetname:wap3
target:wap4

targetname:wap4

wap1 connects to wap2, wap3 connects to wap4.

then in ur script, should look like:

$truck drive $wap1
$truck waittill drive
$truck waittill stop
wait 6
$truck drive $wap3
$truck waittill drive
$truck waittill stop

the truck will drive to wap1 then stop, then drive to wap3.

;)

Posted: Sun Jun 08, 2003 3:50 pm
by ducati916
thanx i will try do that now


YAWN just gota wake up first to early for scrpits :)