Hi there! I'm trying to implement a mechanic that will change the stats and sprites for the main character of my game, but I can't find a way to make this work. Setting it to Autorun freezes the game once the switch is on and setting it to parallel process makes nothing happen at all. Is there a better way to be doing something like this?
Trouble with Common Events
RPG Maker 2000/2003 SupportConditional branches check if a given condition is true - if it is they execute the commands inside them, if its not they execute the commands in the else branch. They do not wait for a condition to become true.
Your condition that checks if the timer is less than 1 minute will never be true - because you're only checking it once, immediately after setting that timer to 5 minutes. The event will then end, and repeat from the start, setting the timer to 5 minutes again.
You'd probably want the autorun event to only set up the timer (and turn its own switch off so it doesn't repeat), and turn on a different switch that enables a parallel event which checks for a first aid kit or the time running out.
Your condition that checks if the timer is less than 1 minute will never be true - because you're only checking it once, immediately after setting that timer to 5 minutes. The event will then end, and repeat from the start, setting the timer to 5 minutes again.
You'd probably want the autorun event to only set up the timer (and turn its own switch off so it doesn't repeat), and turn on a different switch that enables a parallel event which checks for a first aid kit or the time running out.
I haven't even been able to get to the timer, but now I assume I wouldn't be able to do something like this at all because it's only going to check for the health once?
I'm not entirely sure what do you mean by "this" here. But waiting until a condition is met is something you absolutely can do with parallel events - just have a conditional branch that does a thing if a condition is met, and waits a bit if it's not. The event will then repeat and check again, and will keep repeating until that condition is true.
I was able to get things working, thank you so much for the help!
Original thread: https://forums.rpgmakerweb.com/threads/trouble-with-common-events.169684/