We use necessary cookies to keep this website working, such as keeping you signed in and protecting forms. With your permission, we also use optional technologies to play embedded YouTube videos, measure site usage with Google Analytics, and show Google AdSense ads. You can accept all optional categories, reject them, or choose your preferences. You can change your choice at any time through Cookie Settings at the bottom of every page.
Script for a traffic light system that regulates the AI traffic and in the future also the AD traffic.
Only with green the AI vehicles drive.
The green phases can be set directly in the map.
Each crossing can have as many phases as you need.
Each phase has as many traffic lights and lights as you need.
The structure can be seen in the example i3d crossing.
The example is only for reference and not for direct usage in Maps.
More detailed description in the script file.
Trafficlights are synced in Multiplayer.
Changelog 1.1.0.0
- Keep green as long as a Vehicle is in one of the ai Blockers
- Shorten the phases from 2 to 1 second