Custom menu command to world map.

Hello, I'm looking to find out how I can add my own menu command into that empty space that the EB mob left us with in the engine.

All I'm after at the moment is a command that spells out "World Map" or however I can imput it-

Simply put I want this command to teleport me to a room that stores my ID so when I leave I can be brought back to the menu screen and then upon leaving teleporting me back to the room I was in previously. I'm assuming if I have to change any graphics relating to the party I can hand that out with event commands on autorun/parralell process. Or even making use of a call common event-whichever seems easier.

Before anyone says look up the master script list, I have already done so- and none of them either seem to work properly, far too complex to figure out/ or flat out just don't fit in what I am after.

If anyone can direct me to a script or present me with one here would be much appreciated, the sooner I can lay out my project system to more closer I can begin to making some story.
You could probably use Yanfly's menu, it has the option to make a new command that allows you to run a common event. That way you'd just make the transfer in a common event.
OK I've looked up the script: https://github.com/Archeia/YEARepo/blob/master/Menu/Ace_Menu_Engine.rb I think this is the one you are referring to?

I've been reading the instructions and tinkering with it to see if it can display the option but I can't figure out a resolve. Do you know how to make this work?
/You'd be looking into this part

Code:
 #--------------------------------------------------------------------------    # - Common Event Commands -    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -    # If you insert one of the following commands into the COMMANDS array, the    # player can trigger a common event to launch. You can disable certain    # commands in the menu by binding them to a switch. If you don't want to    # disable them, set the switch to 0 and it will always be enabled. The    # ShowSwitch will prevent a command from appear if that switch is false.    # Set it to 0 for it to have no impact.    #--------------------------------------------------------------------------    COMMON_EVENT_COMMANDS ={    # :command => ["Display Name", EnableSwitch, ShowSwitch, Event ID],      :event_1 => [        "Camp",           11,          0,        1],      :event_2 => [   "Synthesis",            0,          0,        2],    } # Do not remove this.
OK, got the menu with the map display option on it so we are making progress here 🙂

One slight problem however, when selecting it it immediately just closes the menu and does not activate the common event I assigned it to- I read below extensively but I cannot make further sense of it. Sorry If I appear to be an idiot at this haha.

Edit: Forgot to mention i was using common event 14 as my map handout, I got the display and the common event working nowish, I'll leave this topic alive because I might need to report a further error.
In that script, uncomment (i.e. remove the #) before line 108 to activate it.

At line 128 change "Camp" to "World Map" (keep the quote marks)

If you are not using switches change that 11 to zero.  If you are using a switch, change it to whatever switch id it should be.

Change the event id to 14
Done! One issue, testing whether I should have a world map displayed in the same room or having teleported to a particular room that does the same thing, so far having teleported to a separate room which can fix lighting conflicts with images etc seems like the best option. However realizing this could mean that events that are chasing you or on particular pathways is there a way to have it that you get teleported back after the world map business having events continue exactly where they left off? In other words you could cheat your way past problems by warping back events where they are first designated by bringing up the map. I am using the awesome lighting effects script mind you.
I think Shaz has a script that allows you to tag events so that they remember their last position
She does indeed, and it is here
Ah I just returned to this tab and the link matches the one I just emailed Shaz about 🙂 I'm not sure if anyone thought of it but having a common event call to teleport to a room might need a specific script call to have any events in the room prior to teleporting needing to have there current position referred.
managed to get the thing working now, got a sick map that i can come back to and out of perfectly, but for reasons unknown the map option only shows up for me on maps it feels like showing on or not.

I have checked everything and I seriously do not know why it's doing this to me it's completely random.

Original thread: https://forums.rpgmakerweb.com/threads/custom-menu-command-to-world-map.43852/