HP regen(non-battle) every 2-3 seconds

how can I make a regen skill which is counted by seconds(or frames) outside battle?
I find a option that use steps to control, but its not what I want
use the "wait" command to timer the next commands that the event will do, (in that case, the regeneration)
in this way, the event will wait a time to repeat again...
I have tried but this method will conflict with another real time checking event
I try replace it with a timer and hide the timer, now it works, thanks!
I have tried but this method will conflict with another real time checking event
I try replace it with a timer and hide the timer, now it works, thanks!
You can use a switch, common event and variable.

In common event, type is parallel if switch for hp regen is on. The variable is used to determine the heal amount.

Use wait frames inside common event to determine rate.

Original thread: https://forums.rpgmakerweb.com/threads/hp-regen-non-battle-every-2-3-seconds.115631/