How do you add a main menu option from a separate plugin? (YEP)

mkrudesign

Veteran
Veteran
Joined
Jun 11, 2019
Messages
31
Reaction score
2
First Language
English
Primarily Uses
RMMV
I'm very new with Yanfly's Main Menu Manager and adding options is rather confusing for me. In the examples I have here, I have my game's original menu on left and on the right the same game but with the menu manager. I added in the Contracts option just fine following a tutorial on the dev's site, but I am not sure how to add in the original Picture Gallery option.

Preview 69.jpg

My issue is that I'm not sure what I should be adding to get the original functioning Picture Gallery to work with this Menu Manager Plugin.

Preview 7.jpg

I know nothing about coding, but I figure I need to add some kind of string to 'Main Bind' to get the command to work? The Picture Gallery Plugin I am using is this one by the way:


The site is Portuguese I believe, which makes it more difficult to figure out what to do. The Picture Gallery Plugin's options only show this info

71.jpg

Thanks in advance.
 

boikish

Always trying to help :)
Veteran
Joined
Sep 8, 2016
Messages
175
Reaction score
50
First Language
English
Primarily Uses
N/A
Unsure if this will work but under the line "Menu 99 Main Bind" put the following:

Code:
SceneManager.push(Scene_Picture_Gallery)
 
Last edited:

mkrudesign

Veteran
Veteran
Joined
Jun 11, 2019
Messages
31
Reaction score
2
First Language
English
Primarily Uses
RMMV
Unsure if this will work but under the line "Menu 99 Main Bind" put the following:

Code:
SceneManager.push(Scene_Picture_Gallery)
Didn't work for me.
 

boikish

Always trying to help :)
Veteran
Joined
Sep 8, 2016
Messages
175
Reaction score
50
First Language
English
Primarily Uses
N/A
@mkrudesign

I just tested and it worked for me. Can you show a screenshot of your plugin with the code in it?

And also your plugin manager showing all plugins.
 

mkrudesign

Veteran
Veteran
Joined
Jun 11, 2019
Messages
31
Reaction score
2
First Language
English
Primarily Uses
RMMV
@mkrudesign

I just tested and it worked for me. Can you show a screenshot of your plugin with the code in it?

And also your plugin manager showing all plugins.
I messed around with it a bit more and got it to work actually! Thanks for the help!
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,685
Reaction score
9,238
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.

 

Latest Threads

Latest Posts

Forum statistics

Threads
124,334
Messages
1,162,862
Members
163,135
Latest member
wyy27
Top