I was asking of the .isPaused detection of a routine is not a reliable IF routine trigger for one. Then if the timer is in .isPaused mode would code below it execute properly this could include turning the timer back on when another event was detected? Because the next time the event detection happened my routine would act if the timer was not paused.
yes ofc all further code can and is executed like nothing happened, you are in an Object Oriented Environment your methods can be called at any time by any other method and be executed even in parallel at the same exact second. Event calls are completely separate as well, if for example a PlayerChangePositionEvent and a PlayerHitEvent are called at the same time both events will be executed, the program will not wait for one code snippet to finish so that it can reach the second, if that was the case we wouldn't be in an Object Oriented Environment but a linear main function.
Well that was good but, No it was not what I was asking. The routines in the timer always execute when the timer goes off. The question is about detecting a .isPaused. I have a routine that was detecting a paused timer in an if statement just fine but then I enhanced the routine which moved it up in the ladder and it seemed to never detect the paused timer out of the executable never executed. I finally put a toggle variable in and that appears to have remedied it.
if the timer has started and has not finished but was paused the .isPaused method should detect it. Could you maybe provide a code snippet for us to see what you are trying to achieve?