QUOTE (bulmabriefs144 @ Apr 11 2012, 07:29 PM)
QUOTE (Icenick99 @ Apr 9 2012, 05:05 PM)
I want a time system in my game, I found a system that uses common events but in battle the time does not change. I assume I need a script? How can I make it so that time will pass when the player is in battle?
You people and scripts. Just wait until battle's over. Why do you need complete real-time? If you really must have such a system, try this. Make an end of turn, Turn event. Variable +1 Battle Minutes, Exit Event. Have a line of code in your time system, that adds Battle Minutes to your minutes, and then afterwards clears Battle Minutes to 0. (It'll work outside the battle). 30 turns will be 30 minutes, and that's good enough for Mana Khemia.
And if you use Yanfly's base troop events, this works perfectly
Just realized that if you have an Evented Time system like me,
that if you use a MOMENT condition in your troop, then call your time system common event,
then it will continuously work.
I tested it myself and it works fine. started a battle at game time 19:00 and finished it at 21:00 (Two minutes real-time) and the time system updated correctly.
This works best of course like I said.. With Yanfly's base troop events. So you only need to make it once.