I saw some people asking how create a bot to follow you in a track like this video by BennyUK360 so I decited to create here a tutorial to explain how create a follow bot.
Take attention to the line under raceBot.car.wakeUp();
raceBot.car.queueEvent( null, EVENT_COMMAND, "idle" );

You will need to change raceBot.car.queueEvent( null, EVENT_COMMAND, "idle" ); to raceBot.followCar( player.car, 0.001 );
Like this:

And now save it ang go test your bot. Thanks for the attention 😃
No file was attached to this page.
Archived from VStanced • Street Legal Racing Tutorials • 2015-12-06