RPG Maker Forums

Hi, everyone!

I found this old thread in the forums posted by someone with a similar problem! It doesn't have the solution, however.

What I'm trying to do is to create a custom hunger / energy system that works with MOG Time System. The basic idea is to create a variable for hunger and for energy that will decrease by hour. However, since the hour variable loops (0-23, then 0 again), it can't affect directly the needs variables (otherwise hunger and energy would reset everyday at midnight).

What I'm trying right now it to create another variable that detects the value change in "hour". Not how much it changes, just that it changes. But it seems I can't figure out how to do something like this.

Any tips or suggestions? There is a better way to approach this situation? I'm not very experienced, so maybe there is something that I'm missing here.

Thanks in advance!

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top