Help - Search - Members - Calendar
Full Version: Timer for gameover or event switch.
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
MajEnigma
I'm trying to setup a timer for an event. Basically I want the timer to start at the beganning of the event but when the time goes out I want it to be game over. Can someone help me with this?
Ale Goth
Lets see, first make a common event called
"GameOver"
Make it require a switch called "Timer On" and set it to parallel so it doesn't interrupt gameplay.
Create a conditional branch...if "Timer is less than or equal to 0 secs"
In true, add gameover command.
If false, leave that blank.
Also add a 5 wait frame so it doesn't lag.

Create the event now on your map that turns on timer, then after that turn on switch "Timer On"

Sorry for the sloppy instructions. sweat.gif
It should work fine though, let me know if theres a problem with it.
MajEnigma
Thanks much. I'll test it out and tell you how it goes.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.