public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

A problem with a loop event set up for a timer

BMM_Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: A problem with a loop event set up for a timer
  • Original author: Wren
  • Original date: December 10, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/a-problem-with-a-loop-event-set-up-for-a-timer.72124/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

Does anyone know why when I set up a loop that works like: loop wait 60 set variable second -1

Archived First Post

Does anyone know why when I set up a loop that works like:


loop


wait 60


set variable second -1


if second =or< 0


set second = 60


set minute -1


if minute =or< 0


run common event clock out


end loop


And in my common event I have set up a screen fade out, I change the clock back to 10 minutes and enter a text message about the timer had run out, then I use a script command to switch parties in tsukihime's party manager, and then fade back in the screen.


However when I test, the time reaches 0 and the screen fades out, the text message runs but none of the variable changes are made and the screen stays black and the party switch doesn't happen.


When I call the same common event using a button event I set up it works fine, when I use a menu option to call the common event I set up in yanfly's menu manager it also works fine.


I think it has something to do with the fact it is in a loop, but I have tried break loop commands and it doesn't change anything.


Any ideas?  If you need more info, Screenshots are below.


Thanks for any advice or help!

Protected downloadProtected downloadProtected downloadProtected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

ClockCommonEvent.PNG
ClockCommonEvent.PNG
ClockCommonEvent2.PNG
ClockCommonEvent2.PNG
ClockCommonEventTest1.PNG
ClockCommonEventTest1.PNG
ClockCommonEventTest2.PNG
ClockCommonEventTest2.PNG
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#mv-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar