Jump to content

How do you change a train from player driven to bot driven and vise versa?


Recommended Posts

Posted

Hallo all,

 

For the scenario I am working on, I would like to have the player bring a train, lets call it train A, to a station and leave its train their to be taken over by another (bot) driver. Then, I would like a bot to bring a train (lets call it train B) to the station, where the player takes control of train B. The bot driver then should drive train A further.

I have no idea for to code the switching between player and bot driver, is their someone who can help me with this? I am aware that their is an TakeoverTrainset(trainset) function, but the wiki does not explain what it does or how it should be used.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy