Timer within another timer: Bug? Known?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
mummy
Posts: 10
Joined: Fri Oct 05, 2012 10:35 pm

Timer within another timer: Bug? Known?

Post 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.
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Re: Timer within another timer: Bug? Known?

Post 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.
mummy
Posts: 10
Joined: Fri Oct 05, 2012 10:35 pm

Re: Timer within another timer: Bug? Known?

Post by mummy »

That was the problem. Thanks!
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: Timer within another timer: Bug? Known?

Post 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!
Finished Dungeons - complete mods to play
Post Reply