News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

schedule_entry_x Class

Started by Andarix, May 27, 2026, 08:51:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

schedule_entry_x Class Reference

It is possible to set the waiting time and minimum load.

However, it appears that it is not possible to query these values.
Yet, particularly in passenger transport, it is essential to be able to modify these values.

prissi

Does not xzy.load returns this value? It looks like wait and load together with x,z,y are members of the schedule entry.

Andarix

schedule_entries = line.get_schedule().entries

schedule_entries[0].wait
schedule_entries[0].load

works, thank you