AITrafficStopManager

Controls groups of AITrafficStops for an intersection.

On Start will set all AITrafficStops to stop, then begin the configured sequence.

Variables

stopCycles

Array of AITrafficStopCycles played as a looped sequence.

AITrafficStopCycle

Variables

activeTime

Amount of time cars are allowed to proceed before next cycle.

waitTime

Amount of time before next cycle becomes active.

trafficStops

Array of AITrafficLights that follow this sequence.

Last updated