Smarter Trains


Train lines, automated refueling, 'dynamic' train schedules

Content
30 days ago
0.14 - 1.1
6.87K
Trains

g Goto Signal #

8 years ago
(updated 8 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.

8 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