Galv's Message Timer MZ

Message Timer
RPG Maker MZ Plugin
Galv
​

Introduction
Time limit on choices and messages.





Features
This plugin allows you to start a message timer that will automatically close the message or cancel the choices window when it expires. This was designed for when you want the user to only have limited time to make a choice selection.


How to Use
- Copy the "GALV_MessageTimerMZ.js" file into your project's /js/plugins/ folder.
- Activate plugin using the 'Plugin Manager'
- Read the 'HELP' documentation (also found in plugin manager) for more details and try the demo if you don't understand.


Plugin
Get it here


Credit and Thanks
- Galv


Terms
Free to use in any RPG Maker MZ project including commercial. Please credit "Galv".
:)
Good idea for like an adventure game or visual novel game where you want someone to give a quick answer.
In addition to being original, it is very useful. man, that was well thought out! Congratulations!
Updated to automatically put it in the correct order to not cause issues when using it with my Message Styles plugin.
Updated to 1.2 - fixed a bug when using the timer on a choice window without a message window.
1742839251046.png
1742839310128.png

Greetings!

I am currently having an issue that involves timers that play in the background. Whenever the message timer is finished, the game does a Game Over even though the timer that I set for a minute hasn't yet reached zero. Is there any way to specify between timers so that the game over condition doesn't accidentally use the message timer instead of the actual timer I set?
View attachment 335498View attachment 335500
Greetings!

I am currently having an issue that involves timers that play in the background. Whenever the message timer is finished, the game does a Game Over even though the timer that I set for a minute hasn't yet reached zero. Is there any way to specify between timers so that the game over condition doesn't accidentally use the message timer instead of the actual timer I set?
Unless I'm misreading, you're checking if your timer is greater than or equal to 0 mins 0 seconds. This would mean that if ANY time is left it will trigger condition.
This message timer plugin is separate to the timer event command functionality.
Wow, you're totally right I completely missed that. I feel so silly now for not realizing sooner. Thank you for pointing this out.
Unless I'm misreading, you're checking if your timer is greater than or equal to 0 mins 0 seconds. This would mean that if ANY time is left it will trigger condition.

Original thread: https://forums.rpgmakerweb.com/threads/galvs-message-timer-mz.128573/