LS 22 AI-Traffic Light System Script (Prefab) v18.104.22.168
– Keep green as long as a Vehicle is in one of the ai Blockers
– Shorten the phases from 2 to 1 second
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 on 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.
Traffic lights are synced in Multiplayer.