Common events repeating by themselfs....

Hi guys im creating one game in rpg maker just to learn to use the tool and have fun, so if i made something wrong pls just tell me haha. I trying to create a game menu but with variables and pictures... So i cant make the common event stop reapeat then i can't use the "ESC" button to open and close my menu because the first event thats trigger the menu is still repeating and givin me trouble to use the "ESC" again to close it.
Theres a way to stop the first event from repeating ? I have tryed turn off the switch but i got no success.

Ty for the help again guys!
I have this video, hope it helps.

I don't know if this is what you need... If is another thing, I can't help so much.

Theres a way to stop the first event from repeating ? I have tryed turn off the switch but i got no success.
The only way I know of and use to prevent events from repeating is to use the "erase event" or "exit event proccess" function.

Do you want to make a custom menu or do you want to do something else with the common events?
The only way I know of and use to prevent events from repeating is to use the "erase event" or "exit event proccess" function.
Well, no - this is a Common Event so you can't use Erase Event on it. As it's triggered by a switch, turning that switch off will stop it from running at the end of its current cycle. If it were a map event, changing the event page would also do it.
I have tryed turn off the switch but i got no success.
You must have something else running that's turning that switch back on. Check or post your other events.

You can look at the tutorial UndeadProductions provided, there's also a tutorial on eventing menus here on the blog:
I have this video, hope it helps.

I don't know if this is what you need... If is another thing, I can't help so much.


Ty for the tutorial it help me a lot to learn about the custom menus!
Well, no - this is a Common Event so you can't use Erase Event on it. As it's triggered by a switch, turning that switch off will stop it from running at the end of its current cycle. If it were a map event, changing the event page would also do it.

You must have something else running that's turning that switch back on. Check or post your other events.

You can look at the tutorial UndeadProductions provided, there's also a tutorial on eventing menus here on the blog:
You was right, it was the event that trigger the menu i forgot to create a new page and turn off the switch thats calls the menu it was making the event infinite! tysm
ty all guys the menu is working now! I really appreciate the help

Original thread: https://forums.rpgmakerweb.com/threads/common-events-repeating-by-themselfs.149567/