Hello! i was wondering if there was a way to add new custom menu options into my RPG game, like a checklist to make sure you know what to do next in the story, if i could get some help on this i would greatly appreciate it! 🙂
Creating more options in the menu?
RPG Maker VXAce SupportThe fastest way to do it using just default script would be defining the contents of this method:
You will need to define one custom command_ method per additional command on the menu window.
Ruby:
class Window_MenuCommand
def add_original_commands
add_command("Custom Option", :custom)
# Add as many commands as deemed necessary
end
end
class Scene_Menu
alias :oen_scn_mn_crt_cmd_win :create_command_window
def create_command_window
oen_scn_mn_crt_cmd_win
@command_window.set_handler(:custom, method(:command_custom))
# Add as many commands as deemed necessary
end
def command_custom
# Add the custom task this command should perform, like opening a new scene
end
end
You will need to define one custom command_ method per additional command on the menu window.
Designed as a Quest Journal but extremly modular and flexible, can easily be used as a checklist, database, tips and more. Check out Modern Algebra's Script Quest Journal to see if it's what you're looking for.
Original thread: https://forums.rpgmakerweb.com/threads/creating-more-options-in-the-menu.172831/