# Señal luminosa de 2 focos # Vía verde, y parada # Para señal avanzada # # Aspect: red IconE: b_r_bE.xpm IconW: b_r_bW.xpm IconN: b_r_bN.xpm IconS: b_r_bS.xpm Action: stop Aspect: yellow IconE: b_b_yE.xpm IconW: b_b_yW.xpm IconN: b_b_yN.xpm IconS: b_b_yS.xpm Action: speedlimit30 Aspect: green IconE: g_b_bE.xpm IconW: g_b_bW.xpm IconN: g_b_bN.xpm IconS: g_b_bS.xpm Action: proceed Aspect: green_yellow IconE: g_b_yE.xpm IconW: g_b_yW.xpm IconN: g_b_yN.xpm IconS: g_b_yS.xpm Action: proceed OnInit: .aspect = red .fleeted = 1 end OnCleared: if .aspect = red if next.aspect = red .aspect = yellow else .aspect = green end .fleeted = 1 end end OnUpdate: if .aspect = red return end if next.aspect = red .aspect = yellow end if next.aspect = yellow .aspect = green end if next.aspect = green .aspect = green end if next.aspect = green_yellow .aspect = green end end end