Hello,
I have been researching and brainstorming different implementations of timers in general. But, I am still stuck in a loop on what things best suite this situation.
In traffic control timing is everything, so I need to have timers that:
- Work simultaneously with one another; server side.
- Can be interacted with by the client (i.e. as a pedestrian pressing a button for a walk signal or as a vehicle waiting for a certain signal).
So, with that criteria laid out I went searching and came upon two pages I have visited before:
Timers and Custom Events
and
Service-like programming: Timer example
As I am writing this, I came to the possible realization that I may have to have two types of timers: Bindable and Remote based.
Here are the timers:
If you aren’t able to make sense of the structure, Controller and Detector Influenced refers to Server and Client respectively. (Pictured are IntValues
, but hooking them up is what counts!)
Thank you for your contribution(s)!