Help - Search - Members - Calendar
Full Version: Close Menu after calling common event
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
npcartwright
Hi, Basicly I have a menu that calls a common event, but I need to close the menu before the event will actually start,
is their a piece of script which can close the menu for me?
any help will be appreciated
Thanks

EDIT: I found out how to do it I used "$scene = Scene_Map.new" and that worked fine
carnie_natas
i thought maybe i could help you,and i might still can but im an eventer over scripts.....maybe if when you call this common event right before it calls have a switch turn,and when that switch turns it will temporarily place an item in your inventory,do a conditional branch that if this "???" item is in your inventory disable menu access (which i believe would erase the menu) and then call your common event,at the very end of your common event have it erase that item and perhaps the menu will come back,or either have it erase the item (so your menu wont stay gone) and then just use call the menu option.....actually i don't even think you need the switch really just do all this before your common event calls the script....create item,add item,cond branch of bring that item and erase menu or disable it,then call script,afterwards erase item and re enable menu

not sure if that helped but in a jist,you need to call a common event from your menu,so you need the menu to erase when you call this event,you didnt state if you wanted the menu back or not,but if you dont just go in the common event and before the script call have your event create item,have conditional branch that if that item is with you erase menu or disable menu....that should do the job,and then just make sure your menu is enabled when the event is over,if you need to call the menu back re enable it and then call it back after the script....hope i didnt repeat that too much smile.gif


EDIT:sorry didn't see that you got it,maybe you can use my info though!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.