PDA

View Full Version : Spline Roads


AKA_Scorp
11-06-2012, 01:28 AM
Is there a way to get vehicles to start from the first waypoint of a spline road and drive to the last waypoint?

When I try to do this vehicles start in the middle and drive to the first waypoint.

If it is possible could you please attach a mission example.

Thanks

salmo
11-06-2012, 02:35 AM
1. Mark the vehicle as an NPC.
2. Select the car.cpp script for it.
3. Then use the set button to set it to the spline road.

This will make the vehicle travel up & down the spline road endlessly.

AKA_Scorp
11-06-2012, 05:26 PM
1. Mark the vehicle as an NPC.
2. Select the car.cpp script for it.
3. Then use the set button to set it to the spline road.

This will make the vehicle travel up & down the spline road endlessly.

I would like the vehicle to travel along the road once and start from the first waypoint, even using the car.cpp script the vehicles start in the middle, go to the first waypoint and then drive along the spline road endlessly.