MV transfer to different map from main menu

Hi guys

I wanted to transfer the player to a different map from the main menu. I used a graphic menu plugin

Can I use script call or plugin command to transfer player once pushed the button in the menu?

Any suggestion?

Here is the graphic menu plugin
The MV Code to transfer the Player is

Code:
$gamePlayer.reserveTransfer(mapId, x, y, 0, 2);

The 0 and 2 stand for direction and transition fade, but I forgot about their specification.
0 = black, 1 = white, 2 is none, if not mistaken.
direction (2) in the above is down, 4 = left, 6 is right, 8 is up, 0 = retain.
The MV Code to transfer the Player is

Code:
$gamePlayer.reserveTransfer(mapId, x, y, 0, 2);

The 0 and 2 stand for direction and transition fade, but I forgot about their specification.


Thanks but what should I put the plugin parameter tho ? (please see the attached picture)

I tried to put script call ($gamePlayer.reserveTransfer(mapId, x, y, 0, 2)😉 in the plugin parameter number 6 in text list but it did not work

I basically wanted to click the image menu (by this plugin) and transfer player to different map

Thanks
Moved to: Plugin Support
Thanks but what should I put the plugin parameter tho ? (please see the attached picture)

I tried to put script call ($gamePlayer.reserveTransfer(mapId, x, y, 0, 2)😉 in the plugin parameter number 6 in text list but it did not work

I basically wanted to click the image menu (by this plugin) and transfer player to different map

Thanks
try:
Code:
EVAL : $gameTemp.reserveCommonEvent(1);SceneManager.goto(Scene_Map);
change 1 to your common event ID. then in that common event... use event command to transfer the player...

scene manager goto is used to return to scene map... because common event (and all transfer) ONLY HAPPEN on scene map (by default).

i did not test that though...
try:
Code:
EVAL : $gameTemp.reserveCommonEvent(1);SceneManager.goto(Scene_Map);
change 1 to your common event ID. then in that common event... use event command to transfer the player...

scene manager goto is used to return to scene map... because common event (and all transfer) ONLY HAPPEN on scene map (by default).

i did not test that though...

Thanks much !! common event does the trick

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/transfer-to-different-map-from-main-menu.131228/