blob: 7ba350f1a48da7ea64af503ab9a3f776fc25b08a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
local signal = POS(-4128,16,-5754)
if event.train and atc_arrow then
local rc = (get_rc() or "")
if rc:match("DLG_shunt_platforms") then
atc_send("B0WD2A0RS3CplS1")
if rc:match("DLG_shunt_Platform1") then
set_route(signal,"SHUNT Platform 1")
return
elseif rc:match("DLG_shunt_Platform2") then
set_route(signal,"SHUNT Platform 2")
return
end
end
end
|