Let's say when a player presses A they start a timer with the tag of whatever time it is. So at 3:11 PM they press A and now a timer is running called "3:11 PM"
How do I make an event that triggers on ANY tag with a time in it?
So 1 event that triggers for "3:11 PM" or "12:02 AM" or "6:33 AM"
Develop games in your browser. Powerful, performant & highly capable.
You can't create a Timer event with any tag. I guess you can loop through all possible hour:minute combinations, but this will be a very bad and slow solution.
So you need to think of something else. If only one timer can be active at a time, store its start time in an instance variables. If you need multiple timers running, maybe create a timer queue with an array.