Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Eventing help, day/night system.

I'm trying to edit time event system found here http://www.rpgmakervx.net/index.php?autocom=blogs&code=read_blog&id=22 The creator if the system hasn't been online in awhile and i havent been able to contact him/her.

anyway, its a great day/night/time system but it has a flaw that i havent been able to fix. The date changes at 11pm instead of 12am. its not THAT much of a problem, its just... not accurate. I think the flaw is in this part of the event (the left circle)

5123_114580057512_654277512_2484759_6763897_n.jpg

because if i add a branch (the circle on the right) that makes the process wait until the tens digit variable gets to 5 (as in it is 11:59 instead of 11:09) then it changes correctly. When it flips over to 12:00am, it is the next day.

But, with that in place, it skips over the the change from 1:19 to 1:20 and goes straight to 1:21. from 1:29 to 1:31, from 6:49 to 6:51. so on and so forth. and i cant figure out why.
 
Ah, the last statement sets the minutes to 0, then the first statement (in the next loop) increments the minutes to 1.
Set the last statement to: Control Variables: [0001] = -1
then when it comes around again, it will increment it to 0
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top