Page 1 of 1

Timer within another timer: Bug? Known?

Posted: Fri Oct 19, 2012 6:41 am
by mummy
I've tried many values trying to figure out why a feature wasn't working consistently and it seems that a timer started by another timer stops working if the time interval used by the nested timer exceeds the first timers interval (didn't check if being equal affects it). I just started using timer so I'm guessing this is probably a known bug and if so my apologies.

ie: One timer starting a second timer. First timer set to 30 so second timer (started by the first) can't exceed 30 or the second timer fails to start.

I searched for a bug like this but failed to find it in the forum but I could of easily missed it.

Re: Timer within another timer: Bug? Known?

Posted: Fri Oct 19, 2012 7:00 am
by Decayer
A timer with an interval of n will keep activating every n seconds, which might the problem here. Try having the first timer deactivate itself on activation.

Re: Timer within another timer: Bug? Known?

Posted: Fri Oct 19, 2012 7:57 am
by mummy
That was the problem. Thanks!

Re: Timer within another timer: Bug? Known?

Posted: Fri Oct 19, 2012 10:36 am
by Komag
yes, every time a timer is "activated" it is reset to the original time. So if the first timer was 30 seconds and the second timer was 40 seconds, the first timer was continually resetting the second timer every 30 seconds and it could never reach 40 fast enough!