I followed the tutorial on this site and have a truck with waypoints,
but no matter what I try the truck just won't move.
I just need a player to 'use' the truck by using a trigger_use to start
it's journey along the waypoints and then have the truck stop.
The map is a Multiplayer Spearhead map
I have a trigger_use targetname truck_trigger,a truck targetname trk
and 6 waypoints targetnames wap1,wap2,wap3,wap4,wap5 and wap6.
My script is below any help appreciated......
Code: Select all
main:
level waittill prespawn
exec global/ai.scr
exec gloal/friendly.scr
level waittill spawn
level.defusing_team = "axis"
level.planting_team = "allies"
level.targets_to_destroy = 2
level.bomb_damage = 200
level.bomb_explosion_radius = 2048
//level waittill roundstart
thread truck
end
truck:
$truck_trigger waittill trigger
$trk drive $wap1
$trk waittil drive
$trk drive $wap2
$trk waittill drive
$trk drive $wap3
$trk waittill drive
$trk drive $wap4
$trk waittill drive
$trk drive $wap5
$trk waittill drive
$trk fullstop // or fullstop (hit the brakes!)
goto truck
end
