is there a way to remove every window command but Quit and then position it with x and y?
Removing Every Menu Command but Quit and position it with x and y
● ARCHIVED · READ-ONLY
-
-
If the only menu command would be quit, why not just make it so that when you press the menu button, the game quits? It'd just be a unnecessary to have a menu with only one command...
-
If the only menu command would be quit, why not just make it so that when you press the menu button, the game quits? It'd just be a unnecessary to have a menu with only one command...
Because i want a simple pause menu..... -
ok, well, try this to get rid of the menu options
Go to the script editor
Under "Window", go to Window_MenuCommand
Scroll down to the sections that say "Add main commands to list, Add formation command to list, and add save command to list" And comment out all the commands in those sections. If you dont know, that means putting a "#" in front of them.
Shaz showed me how to do this :) . Anyway, that should take care of the commands, not sure how to center it though.... -
Like this?
SpoilerCode:class Scene_Menu < Scene_MenuBase def start super create_command_window end alias :mrts_half_create_command_window :create_command_window def create_command_window mrts_half_create_command_window @command_window.x = Graphics.width/2 - @command_window.width/2 @command_window.y = Graphics.height/2 - @command_window.height/2 endend class Window_MenuCommand < Window_Command def make_command_list add_game_end_command endend -
Well then! Humph!.....i'll just shut up then. :p (lol, but i like. Mind if i stash this away in my cache of scripts? :) )Like this?
Spoilerclass Scene_Menu < Scene_MenuBase def start super create_command_window end alias :mrts_half_create_command_window :create_command_window def create_command_window mrts_half_create_command_window @command_window.x = Graphics.width/2 - @command_window.width/2 @command_window.y = Graphics.height/2 - @command_window.height/2 endend class Window_MenuCommand < Window_Command def make_command_list add_game_end_command endend -
Like this?
Spoilerclass Scene_Menu < Scene_MenuBase def start super create_command_window end alias :mrts_half_create_command_window :create_command_window def create_command_window mrts_half_create_command_window @command_window.x = Graphics.width/2 - @command_window.width/2 @command_window.y = Graphics.height/2 - @command_window.height/2 endend class Window_MenuCommand < Window_Command def make_command_list add_game_end_command endend
Thank you!