Read train's red/orange signal
Posted: Fri Dec 28, 2018 1:50 pm
I would like to read the target signal entity from the on_train_changed_state event, if LuaTrain.state is one of:
arrive_signal
wait_signal
Alternatively, you could add the signal entity to the LuaTrain object if that is easier.
arrive_signal
wait_signal
Alternatively, you could add the signal entity to the LuaTrain object if that is easier.