Time System Help?

Player1LFG

Villager
Member
Joined
Nov 24, 2015
Messages
5
Reaction score
0
First Language
English
After two unsuccessful attempts at tutorial time systems, I've pieced together my own. It starts working just fine, but when I change maps or the minutes go past 10 it resets to 00:00. I started it out with a loop, then into a wait 60 that leads into a control variable [minutes] +1. I made an if statement where if the minutes equal to 60, they reset to 0 and the hour variable increases by +1. Then it repeats from the beginning, or at least it's supposed to. I made a parallel event in the starting area that triggers the cycle, and when I check the clock I made it reads the time well, for example 8:09. As soon as it's supposed to become 8:10, it flashes back to 00:00. This also happens shortly after I transport. Am I missing something? Thanks!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
Please show screenshots of your events - somewhere you got it wrong in the logic sequence.


This is especially important because on map changes, events automatically reset and your basic time event needs to be made in a way that it can be reset without changing time.
 

Player1LFG

Villager
Member
Joined
Nov 24, 2015
Messages
5
Reaction score
0
First Language
English
Thanks! Here's an example of what I've been working on.

Screen Shot 2015-12-01 at 5.25.04 PM.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
That screenshot shows two problems - first that you didn't understand that an event is more than the content, because you cut away the most important information like the trigger.


Please give a full screenshot, not a cropped one.


Second, you shouldn't use a loop for such a methode - parallel processes automatically loop, so that is not needed and will create some timing problems.


That's probably the main reason for your wrong countings.
 

Player1LFG

Villager
Member
Joined
Nov 24, 2015
Messages
5
Reaction score
0
First Language
English
Thanks! How is this? Is still gives me the same problem.

Screen Shot 2015-12-03 at 5.24.35 PM.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
That should work, with the minute variable counting up once per second (sixty frames are one second).


If it still jumps, then the same variables are used in a different way somewhere else - for example if a plugin uses them and you forgot to configure that plugin correctly.


To test that, simply use different variables that you cannot have used until now. But if it suddenly works with different variables, don't ignore this - you need to find the other events or plugins where those variables are used before they cause other problems and configure everything correctly.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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