Do you have spaces on your targets and targetnames? Make sure they are connected and the targetname (point1) matches with the targetname in your followspline command. Your error sounds like it goes into the center of the map, or was it origin. Which happens when you don’t have them matching, in other words, it doesn’t find a spline to follow.
Again it is going to be easier and faster to start just reading the script from the prefabs. It doesn’t contain many places to change afterall. You can read it from goldrush. Tank tutorial in 2bit’s site will helps.
You can start out with checking out these triggers from the truck script; dispatch and run_number.
I can give you a little brief on how it works. Note I spend some mins for this so I might have made a little mistake somewhere.
I won’t include repairing, and destroying stuff. Only when it does move. Ofc it has a lot more stuff, but this is gonna get you started.
In the map:
"truck_trigger" *trigger, multiple -> some 1 activates* -> alerts "truck_enabler"-> goes to the script ***means that player is standing on the trigger
from the script:
"truck_enabler" triggers "truck_enable" from the truck scriptblock. ***Here it checks if the truck is dead, makes wheels turn etc. Most important: triggers a trigger called "move".
In "move" it triggers move_check and starts looping"move" for some reason. ***sidenote: but it will check if the player is standing in the trigger etc.
In move_check it triggers stuck_check where it looks if we can move. And triggers "dispatch".
In dispatch you can see a long row of "accum 3 trigger_if_equal *number*" commands. This will basicly check what value the accum 3 has and executes to the right "run_*number*" trigger. ***basicly checks where we are at the splines.
Now depending on the value of the accum 3 it triggers one of the "runs".
In the "run_x" it moves the truck and sets the next value for the accum 3. It also triggers "run_continue" in the last line, which will trigger a couple checks and then trigger "move" again.
But again I don’t want to discourage you, but it is going to be a heck of a work, to start it from the scratch. Go for it if you feel you wanted to!
Edit:
ps. Was it you murka that ripped and made into prefab the truck stuff from the grush? I remember it included some kind of editing tutorial too.