Jump to content
Następne podsumowanie tygodnia pojawi się 16.11.2024 | The next summary of the week will be published on 16.11.2024

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


jeroezie

Recommended Posts

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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

Important Information

Terms of Use Privacy Policy