Page 1 of 1

defines.train_state.leave_station

Posted: Fri Feb 23, 2018 6:32 am
by LuziferSenpai
Hey,

like the Topic says I want to request a new defines so we can detect if a Train leaves a Station, so we can do stuff than.

If you want more Details I will provide that.

Greetz,

Senpai

Re: defines.train_state.leave_station

Posted: Fri Feb 23, 2018 8:45 am
by Optera
You can do this already with on_train_changed_state
Check for old_state == defines.train_state.wait_station

Re: defines.train_state.leave_station

Posted: Fri Feb 23, 2018 8:59 am
by LuziferSenpai
Optera wrote:You can do this already with on_train_changed_state
Check for old_state == defines.train_state.wait_station
Thanks