News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

schedule_entry_x Class

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

Previous topic - Next topic

0 Members and 2 Guests 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