MZ Looking for a plugin that moves the ShopStatus Window on the battle scene.

Hi! I’m trying to move the ShopStatus window to the position shown in the image. I’ve managed (with patience, desperation, and many hours of browsing forums) to move and resize the other two windows, but this one is resisting.

duda.png


I’m mainly using VisuStella, specifically FrontBattleUI, and to move the windows I’ve used this plugin:

Scene_Battle.prototype.updateFrontviewBattleUiPositions = function () {
this._actorCommandWindow.x = 900;
this._actorCommandWindow.y = 822;
this._skillWindow.x = 1000;
this._skillWindow.y = 822;
};
All you have to do is to repeat the lines of code that you already have, just with this window's identifier. When you don't know it, you can look it up by placing a breakpoint inside your plugin.
Yeah it's just what the name says

this._shopStatusWindow.x =
this._shopStatusWindow.y =
All you have to do is to repeat the lines of code that you already have, just with this window's identifier. When you don't know it, you can look it up by placing a breakpoint inside your plugin.
I'm new to use plugins so I think I get what you're saying but let me ask it just in case.

-Window identifier is the actorCommandWindow and the skillWindow? This identifier are caps sensitive?

-How can you set a breakpoint? For context I assume is to provoke an error and then in the read the error message. Until now what I did was trying names, but only got lucky with skillWindow.
Everything in JavaScript is case-sensitive 😉

You set a break point by doing the following:
- In the game, press F12 to open the debug console
- navigate to "sources", then to your plugin
- click on any line number to put a breakpoint

When your game reaches a breakpoint, it breaks (lol) and lets you inspect all variables so you can lookup the variable name/identifier of your window. But rpgLord already looked it up for you
Yeah, but I never would have known how to do that breakpoint thing LOL. I already knew that it's just the window name, and if I hadn't, I just search stuff in the console going down the object property list.

So good advice!
Yeah it's just what the name says

this._shopStatusWindow.x =
this._shopStatusWindow.y =
It worked thanks! I think i tried this but maybe my mistake was the caps.

Everything in JavaScript is case-sensitive 😉

You set a break point by doing the following:
- In the game, press F12 to open the debug console
- navigate to "sources", then to your plugin
- click on any line number to put a breakpoint

When your game reaches a breakpoint, it breaks (lol) and lets you inspect all variables so you can lookup the variable name/identifier of your window. But rpgLord already looked it up for you
Thanks for the advice! I will definetly use this

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-plugin-that-moves-the-shopstatus-window-on-the-battle-scene.180990/