I managed to add a menu option by using "add_command", but pressing the button does nothing. I wanted to know how I could make it so that pressing the button would activate a common event?
Adding a new common event option in the menu
RGSS3 Script RequestsYou never included something like this in your custom code...
Ruby:
name_your_window.set_handler(:symbol, method(:specific_scene_method))
Where would I include this?
In your custom scene script as that line suggested where it says :specific_scene_method
Otherwise it won't find that method at all.
Warning: the window should exist already or it will fail. Take a look at the default Scene_Menu script to get an idea of how to do that.
Otherwise it won't find that method at all.
Warning: the window should exist already or it will fail. Take a look at the default Scene_Menu script to get an idea of how to do that.
Yep, figured it out. Thanks.
Original thread: https://forums.rpgmakerweb.com/threads/adding-a-new-common-event-option-in-the-menu.164583/