Eggu Posted February 5, 2021 Share Posted February 5, 2021 Nachdem ein Zug ein Gleis verlassen hat, möchte ich prüfen, ob noch weitere Züge auf dem verlassenen Gleis stehen. In Lua ist das ein Einzeiler, aber im Standard Editor finde ich keine Möglichkeit "Auslöser" anzuwählen (siehe Anhang). Lua: return #layout:getVehiclesOn(track) == 0 In komplexeren Ausdrücken (z.B. erweiterte Variable) ist dann Auslöser durchaus anwählbar, aber nicht in dieser "einfachen" Abfrage. Übersehe ich etwas ? Link to comment Share on other sites More sharing options...
HaNNoveraNer Posted February 5, 2021 Share Posted February 5, 2021 Nee, fehlt, ist aber glaubich schon auf der Todo Liste. Gruß Thomas Link to comment Share on other sites More sharing options...
Eggu Posted February 5, 2021 Author Share Posted February 5, 2021 Danke ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now