Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

need help with scripting: how do i freeze the battle so i can open a menu and return?

K...here goes:
i created a new script that openes a menu IN BATTLE.
now...usually after using menu your'e just using "$scene=Scene_map.new" to eliminate it...

My Problems Are:
when i use my script to open tha menu in battle and use "$scene=Scene_battle.new", naturally, it starts tha battle all over again ':| ...
MY Q:
is there any way to pause tha battle when tha menu is on tha loose? (DOH!! :yes: )and how exacly do i do that?? (DOH!!':| )

in other words: when i'm pressing "END" or "CLOSE MENU" or "GET THE HELL OUT OF THE SCRIPT, U DAMN COMPUTER!!", is there any way to return to the fight withowt starting all over agein?

lookin' forword 4 tha answer...
*KISSES* 4 U, anyway ^_^!!
 

OS

Sponsor

I think you need to put the menu in the battle scene. Then just use the .visible and .active = false methods on the default battle menus and @my_cool_window.visible and .active = true.

Then just reverse the last idea to turn off your window. Don't forget to dispose of the window as well!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top