Hello, I've set up a system in my game where you regenerate your health over time
and when you level up and for some reason whenever I lose any health it instantly starts regenerating!
Please help me fix this, I really don't wanna delete the health regen feature.
Health Regeneration issues
RPG Maker VXAce SupportWhere do you set the values of those variables? Right now I see nowhere where variable 44 and 60 are called, they are just named, and variables with no data set in them default to 0 in most cases. Odds are what is going on is you set variable 60 but never 44, so it is seeing 0 < some number not 0 and always regenerating.
I have a common event that always sets the 44th variable to the player's current health..
One suggestion....put all those starter switches in an autorun called on your first map instead, then turn off the autorun with a self switch. That will do the same thing, and you won't have a common event always looping in the background. Either that or add a command switch 60 = OFF to the end of that parallel process, because right now that common event is always looping forever.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/health-regeneration-issues.98048/