Is there a way to know the player is looking at a train locomotive? And get the entity/name/id?
I want to add a Train button to my gui.
when a train is opened and you click on it.
You get a list of all train stations
you click a train station.
you get a list of station options:
- load ore
- unload ore
- load oil
- unload oil
These are special settings for a train stop:
eg. unload ore:
* 5 seconds passed
* AND Empty cargo inventory
* OR 5 seconds of inactivity
This way I don't have to keep setting all the conditions
[Solved] train window gui
[Solved] train window gui
Last edited by mophydeen on Tue Jan 17, 2017 8:50 pm, edited 1 time in total.