MV Update Common Events while Open

So, I'm using YEP Common Event menu for custom simple shops. Is there a way for the Commen Event Menus to update constantly so the variables in the event menu change while it's open? At the moment, variables don't update unless the common event menu is closed and opened again.

I'm using it to display a list of skills that can be used for X amount of time, but that time variable doesn't update in the Common Event Menu unless I close it and open it again.
The only way to make that refresh would be to constantly re-call the common event that draws the menu. You could do this on a loop every couple of frames, but that's probably going to cause a performance issue at the very least, and constantly reloading the menu might also mess with player inputs as well.

A better option might be to exclude that specific window from the menu and make use of some sort of HUD plugin instead, which should update in real time. The common event menu plugin wasn't really designed with that in mind, since it sets up all the info before being drawn.

Alternatively you could look into making an entire custom menu scene instead, but depending on exactly what you're doing on this scene, that is going to be quite a bit more difficult than the HUD option.

Original thread: https://forums.rpgmakerweb.com/threads/update-common-events-while-open.133838/