Space Engineers

Space Engineers

Not enough ratings
Traffic Lights
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
128.747 KB
17 Feb, 2015 @ 2:27am
19 Sep, 2024 @ 4:00pm
4 Change Notes ( view )

Subscribe to download
Traffic Lights

Description
Script implements the traffic lights for 2 directions.

Instructions:
1. Make lights (interior or spotlight) named RedLight1, YellowLight1, GreenLight1 (for the first direction), RedLight2, YellowLight2, GreenLight2 (for the second direction).
2. Add timer that triggers the programmable block.
3. Set delay time variables in script (delay1 - time of red light for the first direction, delay2 - time of red light for the second direction, delay3 - time of yellow light)
4. You can disable traffic lights (flashing yellow) with outOfOrder variable.
6 Comments
Lord_Rahl 2.0 26 Sep, 2024 @ 12:10pm 
What a legend!
Miszelek  [author] 19 Sep, 2024 @ 4:01pm 
Fixed
Lord_Rahl 2.0 11 Oct, 2023 @ 7:38am 
I know this hasn't been updated for a while, but for anyone looking it currently appears to be broken - it'll fire once and only once.
ShieldKnight857 2 Aug, 2015 @ 1:29pm 
Awesome! Now I don't have to create a complicated timer system! :)
jarhead 26 Feb, 2015 @ 6:23pm 
you can have sensors set up to run the program as well just place and setup actions
behc 18 Feb, 2015 @ 8:59am 
As a traffic engineer I like it :) (now go, add some sensors and turn it into intelligent one!)