SugaCane Posted March 25 Posted March 25 If you want to set an ISp, IISp or IIISp Signal as Trigger (as shown in the code below) your unable to create there one. You only can set the trigger point on an entry signal like "5291_ZW_D". I think it have something todo with the Signals you see in the top right corner. You can only set the Trigger in Signals you see in the hud in the top right corner. CreateSignalTrigger(FindSignal("5291_ZW_ISpD"), 500, { check = function (trainset) Log("Überprüfung der Lok") return true end, result = function(trainset) Log("Überprüfung geschafft") if t4_info.type == "liquid" then Log("Ist Gefahrzug. Geh an seite") VDSetRouteWithRepeat("5291_ZW_D", "5291_ZW_K2", VDOrderType.TrainRoute,0, 15) else Log("Normal. Fahre ein") VDSetRouteWithRepeat("5291_ZW_D", "5291_ZW_K2", VDOrderType.TrainRoute,0, 15) end Log("Evt. Fahrstraße eingestellt") end})
SIMRAIL Team Admin BOT Posted 6 hours ago SIMRAIL Team Posted 6 hours ago Thank you for reporting this issue! Internal ticket number: #4369 Dziękujemy za zgłoszenie tego problemu! Wewnętrzny numer zgłoszenia: #4369
Recommended Posts