Wahrscheinlich lag damals der Fehler darin, dass ein Bus/Objekt nur einen Frame-Abschnitt haben kann. Deshalb wurde das Script nicht ausgeführt. AUXI bietet seit kurzer Zeit eine Variable an, über die man die Entfernung zur nächsten Haltestelle auslesen kann.
ZitatAlles anzeigenOne final change coming to AUXI 1.3, a last minute request, is the beginning of OMSI scripts being able to access some stuff in AUXI.
-
AUXI
This variable just confirms whether AUXI is active, it's always set to 1 if it is.
[...]
-
AUXI_Get_NextBusStopDistanceMeters
Gets a fairly precise distance to the next bus stop in meters, if available. If this isn't known then it will return -1.