VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Scripts: Chaser bot

By gorgoil Dec 6, 2015 2.8k views

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.

Garage talk

3 comments
  1. hitman3695

    Would you know the lines to add bots to a map?

  2. gorgoil

    Hitman3695 exists a tutorial of adding bots but don’t know where, if isn’t here it is at forgotten-garage.pl

  3. dthug69

    what file is this

Leave a comment

Members can comment. Log in or create an account.