Smarter Trains


Train lines, automated refueling, 'dynamic' train schedules

Content
3 years ago
0.14 - 1.1
6.05K
Trains

g Goto Signal #

7 years ago
(updated 7 years ago)

Signal lamp doesn't seem to be passing station # to train for destination

Edit: Might be due to the naming convention I am using, as it doesn't start with a letter.

7 years ago

Did you set the signal on the lamp correctly? The signal set in the lamps condition is what should get passed to the train as "goto signal #"s destination.
If the value isn't a valid schedule index (starting with 1) it will go to the next station in the schedule.
You can use /c remote.call("st", "toggleFlyingText") to show a bit more info when a train does something.
Also in the factorio_current.log SmartTrains writes a bunch of information (search for "Signal:", "Jumping to")

What are the station names? It should work with pretty much any character i think.

New response