Page 1 of 1

OnTrainReachedStation event

Posted: Wed Sep 26, 2018 11:10 pm
by Reika
With accessors into the LuaTrain of the train and the LuaEntity of the station.

Re: OnTrainReachedStation event

Posted: Wed Sep 26, 2018 11:23 pm
by quyxkh
It's already there, on_train_changed_state when the new state is wait_station.

Re: OnTrainReachedStation event

Posted: Wed Sep 26, 2018 11:24 pm
by Reika
feels stupid

Re: OnTrainReachedStation event

Posted: Thu Sep 27, 2018 12:34 am
by quyxkh
Don't. Two heads better because stuff like this.