MV YEP Main Menu Manager - How to get an event to open a custom menu

Heyoooo,

im using yanfly's main menu manager to make custom menu options and im wondering if there is a way to make an event force you into one of those menus.

ex. i have a "cooking list" menu option that i made but i only want it to be accessible when my character is talking to the cook.. not only that when he is talking to the cook he should have an option to go into the cooking list from talking to the chef that takes you right to that menu option. i know how to enable and disable menu options which is included but i want it to take me right to the menu when talking to the chef.

i thought something like

SceneManager.push(Scene_Cooking_List);

would work but that's totally guessing. i could be entirely wrong.

id like to know how to do this with any custom menu i make through menu manager.



thanks!
Moved to: Plugin Support

Please show what you have done to create the new menu option, and what plugin are you using for the cooking list?
also link the plugin you use, as sometimes, scriptcall works mostly
in a command event to bind that, for main bind for menu works
a slightly differently.

without the plugin you use, it would be hard to guess what call you need
to use that is bound to the scriptcall.
@ShadowDragon

im just using yanfly main menu manager and i was curious if there was a script call or something you could put into a common event that would force open one of the menus you make with the plugin.


does that make sense?
Not really, you don't make menus with Yanfly's Main Menu Manager. You modify how the main menu (that you get when you press Escape) looks and what other scenes it can call.

That's why Shaz asked you to explain how you made your cooking list. It sounds like you misunderstand what this plugin does and you think the Main Menu Manager will create your cooking list screen for you, but it won't.
Yanfly's common event menu plugin is probably more like what you're looking for. It lets you setup a menu via plugin commands and then call it. You'd set it up for your cooking list, or whatever, and then call the command to open the common event menu from the 'cook' event.
you guys are right, the mainmenu manager pushes common events so essentially if i want someone else to push that common event i would simply just copy and paste the event. jeez haha. my bad guys! i appreciate the plugin @ramza i think im going to still need that.



thanks!

Original thread: https://forums.rpgmakerweb.com/threads/yep-main-menu-manager-how-to-get-an-event-to-open-a-custom-menu.134390/