I'm trying to create a Common Event where a variable increases by 1 after taking an X number of steps. For example, every 5 steps will increase the variable by 1. Then after 25 steps, that variable will be 5. Thoughts on how to accomplish this?
Increase variable after X number of steps
RPG Maker MV Supportyou need to use control variable command to load the current step number into a variable and compare it to the previously stored (in a different variable) step number. If the difference is 5, store the current number and increase the counter by one.
I'll be a bit tricky because you need a parallel process with a good number of waits, and the best wait number can only be discovered by testing - too few waits and the game will lag, too many waits and there is the risk of skipping steps.
I'll be a bit tricky because you need a parallel process with a good number of waits, and the best wait number can only be discovered by testing - too few waits and the game will lag, too many waits and there is the risk of skipping steps.
Thanks for your help, everyone!
Original thread: https://forums.rpgmakerweb.com/threads/increase-variable-after-x-number-of-steps.69394/
