Ags Timer should work fine:
starts timer number 2 ticking for 100 game loops:
SetTimer (2, 100);
check whether timer 2 has expired:
if (IsTimerExpired (2)==1) {
Display("time out. BOOM!!!");
}
To disable ticking (puzzle is solved):
SetTimer (2, 0);
If you want it to tick 60 seconds:
SetTimer (2, 60*GetGameSpeed());
QuoteCan it be made to work through several rooms?
Yes, just place the
if (IsTimerExpired (2)==1) checking in the repeatedly_execute() function of the global script.
~Cheers