Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Firstly you should enter a train_setup. This indicates the track on which the trains are starting and it should be entered before the first tick. It is an array for eleven trains and if not all of them are used, leave the entry blank (0). Now the following inputs are interesting:

destination[NUM_TRAINS]The next destination for the specific train. This is supposed to be a station track but be aware that if the station track is occupied the train will take an alternative track.
random_modeWhen enabled the trains will be given a destination automatically and drive around.
no_forced_destination[NUM_TRAINS]If a train is in a station and not driving anywhere, it is possible that a different train is blocked. If this variable is set to true for the specific train, this train will not be forced to drive somewhere.