create a unit in the mission editor, and give this unit the waypoints you want the units created with the scirpt must follow and in the initfield of the unit write
GoupName (you use to create the new units) = group this; deleteVehicle this;
When you now create the units the units will follow the waypoints.
Ottie