This extension lets you create and draw a spline. You can add points to it by calling the add function. You can also make an object follow the spline.
These scripts are excellent for any traffic management game. It contains an example room to get you started in minutes.
End User Licence Agreement (EULA).