There are 2 script-commands for moving script_movers:
followspline & followpath
They both have a <targetname> as a parameter.
Say You have a (short) path with just 2 info_train_spline_main entities:
*A: targetname=splineA, target=splineB
*B: targetname=splineB
If You issue a followspline-command, “followspline splineA …”, the script_mover will start moving from the splineA, and it will move to the info_train_spline_main that splineA is targeting, in this case splineB.
A followpath command works a little different:
It moves a script_mover (from anywhere the script_mover allready is), to the indicated <targetname>…
So, a followpath-command shows the position a script_mover will end its movement, whereas a followspline-command states the position a script_mover will start its movement.
The followspline command is different from the followpath-command also, because of the possibility to “aim” the script_mover into the correct heading. Followspline needs the next targeted spline to “know” how to rotate the script_mover.
So when a tank follows a U-turn path, its heading is adjusted along the path, and eventually the tank will face the opposite direction as from where it started that U-turn path.
This is the reason why You can create a tank anywhere in Your map, facing it (lets say) North… then create a path that starts moving the tank East.
When the tank spawns, You let it follow the first spline (very quickly), that spline will target the next spline (East of it), and automaticly the tank will face into the correct direction when it has reached the second spline-point.
Followpath is somewhat simpeler, it does not change the heading of a script_mover…