Time-Specific Events?

I would like to make an event that happens every two days or so, but I can't figure out how to make this happen. I'm using this common event thing, and it's working fine. What I'm meaning is if I made an event happen, after the cycle restarts two times, how would I make it happen again? I'm using RPG Maker VX Ace. Thank you!
I've moved this thread to RPG Maker VX Ace . Please be sure to post your threads in the correct forum next time. Thank you.
(One way I can think of immediately if you want to have an event that happens every 2 days without changing too much of the common event you're using, is expanding your cycle so it contains two days before it resets. Instead of having the switches Morning, Day, Evening and Night, you would be using Morning 1, Day 1, Evening 1, Night 1, Morning 2, Day 2, Evening 2, Night 2. Your variables would vary between 4 and 52 (reset at 52).


Once you have it set it up like that, you can set up your event only to happen when for example the switch Morning 1 is on. This way it will take 48 in-game hours before it starts again.)


Of course, I understand this is a bit of a work-around. Better would be to think about your problem like this:


The common event you are using basically learned you how to repeat an event within a certain time frame (24 in-game hours). The question you are asking is basically how to repeat an event within a certain time frame (48 in-game hours). You could use the exact same mechanics of the day/night cycle to implement your event cycle. 🙂


Let me break it down for you:


(1) You create a variable and a switch for your event


(2) You create a common event with a conditional branch stating when the event switch should be turned on (your event variable should be equal to the period of the day you want it to happen - e.g. if you want it to happen in the morning, it should ==6). If you want it to happen every two days, make sure it resets at 52 (to 4). Every three days, make sure it resets from 76 (to 4), etc. Don't forget to turn the event switch off again during the periods you don't want it to happen.


(2) When changing maps and you add +1 to your day/night variable, you also add +1 to your event variable. You only call the event variable on the map you want the event to happen.

Original thread: https://forums.rpgmakerweb.com/threads/time-specific-events.63297/