I used Core engine and Skills and state core to make skill list in the main menu.But I noticed it also create a new window in the corner.I don't want to show these detailed data to the players.Can I close it?
MZ How to close the skill status window in menu(Visustella)
Javascript/Plugin SupportThe plugin says that if you use 'updated layout', it will automatically add that shopstatuswindow. (It seems you can change it's dimensions if you don't use 'updated layout', but your item window will retain the reduced dimensions).
I think even with 'updated layout', you can overwrite the window dimensions like this (shopstatuswindow dimensions to 0, itemwindow dimensions back to original):
EDIT: I tested it with old versions of the plugins, so not sure if they've made changes later.
I think even with 'updated layout', you can overwrite the window dimensions like this (shopstatuswindow dimensions to 0, itemwindow dimensions back to original):
Scene_Skill.prototype.shopStatusWindowRect = function() { return new Rectangle(0, 0, 0, 0);};Scene_Skill.prototype.itemWindowRect = function() { const wx = 0; const wy = this._statusWindow.y + this._statusWindow.height; const ww = Graphics.boxWidth; const wh = this.mainAreaHeight() - this._statusWindow.height; return new Rectangle(wx, wy, ww, wh);};EDIT: I tested it with old versions of the plugins, so not sure if they've made changes later.
Thank you!I use updated layout to change the position of other windows as well.It works quite good.
By the way,I noticed that the status window also display in the shop menu.Just like the picture below.Can I close it either?
Original thread: https://forums.rpgmakerweb.com/threads/how-to-close-the-skill-status-window-in-menu-visustella.178814/