[Feature Request] Dynamic Timers
Add an effect to dynamically adjust timers. For example I start a timer that counts down from 60 seconds. 30 seconds later I add another 15 seconds to the timer. Now the event that is supposed to be triggered at the end of the timer won't trigger for another 45 seconds.
Personally I do this by having a timer that decrements a counter. You can prolong the effect by increasing the counter and checking if the counter has reached 0 (thus ending)
Personally I do this by having a timer that decrements a counter. You can prolong the effect by increasing the counter and checking if the counter has reached 0 (thus ending)
I am currently doing the same thing. I think it would be easier if there was an effect to do this dynamically.
I'm going to tag this as v6 for the time being. This would require a significant rework of our current timer system. Right now, when a timer is modified, the timer interval resets. So if we do something to modify the timer from an effect, that timer probably won't respond in the timeframe you expect it to.
For example: If you make changes to a 30-second timer, and it's been 29 seconds since the last time it ran, it will be an additional 30 seconds until the next timer run even if you don't change the interval, making it 59 seconds between those two runs. If you were to change it to a 60 second interval at 29 seconds, it would be a total of 89 seconds for the next interval fire, not 60 seconds. The way you're proposing dynamic timers, this wouldn't be the expected functionality.
We can start looking at ways to update the timer system, but again, this is probably going to be something for v6.