Hi I recently tried to pick up game making as a hobby again, but I think I'm starting to go insane a little.
All of the events in my game should happen based on what time and day it is. I'm encountering problems with how it obtains that information (common event call) and accidentally skipping the time/day when it is set to call the common event.
I will try to briefly explain how my current time system works:
there are 24 daily variables 8am-8pm is day and 8pm-8am is night, every time the variable hits 24 it automatically removes 24 and adds +1 to the Day variable, time only moves when you perform actions such as driving, working, ect. Cutscenes are supposed to happen every Friday at 8am, and the game will then force you to sleep until 1pm. There are (supposed to be) a few locations you can only visit during the day/night and It's supposed to kick you if you are there when time changes but this is where I'm having problems; I will now try to explain the problems.
Due to running 3 common events for time on every map (day, time, visual on screen clock) It's already kind of a mess, but the real problems are that events keep either looping forever or being missed. Example is at 7am it should force you to return home, change the time to 8, and check for cutscenes. However if you perform a 3 hour action at 6am, it will skip past 7am and never trigger. If I make it trigger from x-x time, it will loop permenently because the time parallel process will keep triggering it. I also need to mention that the game isn't linear so the player could be on any map at 7am meaning the event to go home needs to be on every map.
Does anyone know a way to do this with less headache? or to get it to stop looping/skipping events? Sorry if this is a mess I am trying my best to explain but my expertise on rpg maker is low and I probably don't know what I'm talking about. But thank you for reading until the end! If I need to add any screenshots or information I will try my best.
All of the events in my game should happen based on what time and day it is. I'm encountering problems with how it obtains that information (common event call) and accidentally skipping the time/day when it is set to call the common event.
I will try to briefly explain how my current time system works:
there are 24 daily variables 8am-8pm is day and 8pm-8am is night, every time the variable hits 24 it automatically removes 24 and adds +1 to the Day variable, time only moves when you perform actions such as driving, working, ect. Cutscenes are supposed to happen every Friday at 8am, and the game will then force you to sleep until 1pm. There are (supposed to be) a few locations you can only visit during the day/night and It's supposed to kick you if you are there when time changes but this is where I'm having problems; I will now try to explain the problems.
Due to running 3 common events for time on every map (day, time, visual on screen clock) It's already kind of a mess, but the real problems are that events keep either looping forever or being missed. Example is at 7am it should force you to return home, change the time to 8, and check for cutscenes. However if you perform a 3 hour action at 6am, it will skip past 7am and never trigger. If I make it trigger from x-x time, it will loop permenently because the time parallel process will keep triggering it. I also need to mention that the game isn't linear so the player could be on any map at 7am meaning the event to go home needs to be on every map.
Does anyone know a way to do this with less headache? or to get it to stop looping/skipping events? Sorry if this is a mess I am trying my best to explain but my expertise on rpg maker is low and I probably don't know what I'm talking about. But thank you for reading until the end! If I need to add any screenshots or information I will try my best.