Hi all,
I have a timer and I want to specify exactly the time left on it.
Currently due to some game logic requirements I'm:
- starting timer
- counting down towards 0
- pausing the timer when required (making inactive)
- rebuilding timer back towards its wait_time
The first part is all fine, but when trying to rebuild towards the wait_time
I'm running into an issue.
I can't find a way to slowly increment the timer back up again. I can set the wait_time, that's fine, but when paused the timer still sits at the value it was at, then when I unpause the timer, it just continues counting down to 0 from where it was paused.
Setting the wait_time
doesn't do what I need as it keeps counting down from the paused value anyway (the get_time_left()
value). Does anyone know of a way to set the actual time remaining?
My fingers and toes are crossed. Thanks a tonne... Rob