This is likely a silly question, but I know very little about JavaScript and don't understand the explanation given on the plugin page for Yanfly's Main Menu Manager for how to set up a custom menu command.
I'm trying to add a button in the menu that leads to the encyclopedia page from Casper Gaming's Encyclopedia and Bestiary plugin, but I don't know what I'm supposed to type in the "Main Bind" parameter box to make it work. The website says this:
"Main Bind
- This is an eval function that is to be ran when this command is selected
straight from the main menu. The function that is to be bound to this
command needs to be accessible from Scene_Menu is some way or another. For
commands that are meant to select an actor first, use
'this.commandItem.bind(this)' without the quotes."
I don't know what Scene_Menu or this.commandItem.bind(this) mean, and looking at the examples and presets doesn't help me understand.
Apologies for the silly problem, I'm just not great at using plugins aha ^^'
I'm trying to add a button in the menu that leads to the encyclopedia page from Casper Gaming's Encyclopedia and Bestiary plugin, but I don't know what I'm supposed to type in the "Main Bind" parameter box to make it work. The website says this:
"Main Bind
- This is an eval function that is to be ran when this command is selected
straight from the main menu. The function that is to be bound to this
command needs to be accessible from Scene_Menu is some way or another. For
commands that are meant to select an actor first, use
'this.commandItem.bind(this)' without the quotes."
I don't know what Scene_Menu or this.commandItem.bind(this) mean, and looking at the examples and presets doesn't help me understand.
Apologies for the silly problem, I'm just not great at using plugins aha ^^'