Self Destruct Timer?

Hello 🙂

I am currently at a part in my game where my party has to escape a lab factory that will blow up up once the timer ends.

It should start after zoning in from another screen, and continue on until the player zones out of the factory.

The player needs to/can zone several times (from different areas within the factory) during the countdown, and even get into battles with the timer ticking.

Once the timer reaches zero, it will flash and lead to a game over screen. If the player escapes, they will zone to the map outside and get straight into a cutscene where the factory blows up.

A good example would be the timer you get in the first reactor in FFVII.

I really tried to use CTtimers script. It looks great in the demo, but after reading it over and over and trying different things, the script just kept failing and I feel stupid as I know absolutely nothing about scripting and would really love to have this feature in my game, even if its only once, Cheers for any help.
zone? Transfer, you mean? Using the correct terminology will make it easier for people to help you.


Why can't you just use the standard game timer?
Does it carry over to other screens though?

Zone, Transfer, Exit, Jump to new area, all the same thing really.
To be honest, I don't use it, because there's only ONE timer (I need multiple, so I have a script). But it wouldn't take much effort to test. The timer is not attached to the map, so I don't see why it would reset when you transfer to a new map. I believe it also continues while you're in the battle screen.
I tried setting up a timer but it keeps resetting when I transfer to another map.
In the event that starts the timer, add a control self switch and turn it to on, then create a new event page and put the requirements to Self switch A on, this should stop the timer resetting when moving between locations 🙂

Original thread: https://forums.rpgmakerweb.com/threads/self-destruct-timer.20216/