waypoints and trucks

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
ducati916
Private
Posts: 2
Joined: Sat Jun 07, 2003 11:28 pm
Contact:

waypoints and trucks

Post 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
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post 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.
Live to map, not map to live.
-mohaa_rox, .map
moderator
ducati916
Private
Posts: 2
Joined: Sat Jun 07, 2003 11:28 pm
Contact:

;)

Post by ducati916 »

thanx i will try do that now


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