I have no clue how to move the actor command window. I know it's possible, but I don't know where to go or how to do it. I'm not much of a coder, but I have a slight idea of how Java works. If anyone has a plugin or can point me to a guide about how to go about this, that would be great. Also, if anyone can show me how to hide or just remove the actor list thing, too, that would be great, too. I use MZ
MZ Actor command window moving
JS Plugin RequestsAdd a plugin with any name and paste this:
Change the lines to your desires.
JavaScript:
/*:
* @target MZ
*/
Scene_Battle.prototype.actorCommandWindowRect = function() {
return new Rectangle(
Graphics.boxWidth - 192, // x
Graphics.boxHeight / 2, // y
192, // width
this.calcWindowHeight(4, true), // height
);
}
Change the lines to your desires.
Hi, thanks for this, by the way. Which part of the code changes the positioning? Is it the X and Y or the width?
When I tried to mess with it, the game showed this screen.
This is what I did to the code, I don't think I really know what I'm doing...
/*:
* @target MZ
*/
Scene_Battle.prototype.actorCommandWindowRect = function() {
return new Rectangle(
Graphics.boxWidth - 192, // 1
Graphics.boxHeight / 2, // 500
192, // width
this.calcWindowHeight(4, true), // height
);
}
The code works for me, and also the error message has nothing to do with it, so the error must be caused by some other plugin or scripting.
X and Y define the window's position, width and height its, well, width and height.
Alternatively, I would invite you to use my plugin to make battle HUDs much easier: https://forums.rpgmakerweb.com/inde...-customizer-using-wysiwyg-editor-lite.179118/
All of them.
X and Y define the window's position, width and height its, well, width and height.
In programming, everything right to the // symbol are comments by and for the programmers; the interpreter ignores it. You would need to adjust the sections left from the // symbols or just keep my code snippet as it is because I think I already fit it quite well.
Alternatively, I would invite you to use my plugin to make battle HUDs much easier: https://forums.rpgmakerweb.com/inde...-customizer-using-wysiwyg-editor-lite.179118/
thanks mate
Hey, so I was playing around with the code you gave me, and it seems to actually work great. The only problem is that it looks like the Y function doesn't work; the X, width, and height work fine, but it's just that the Y axis doesn't work. It's weird cause I can use that Y line to change the UI height. And I would use your UI plugin (looks excellent by the way), but it does too much of the work I've already done. So uh... you wanna help a guy out one more time?
We recently discussed some unexpected behaviour that explains the y-positioning of the actor window, right here in this thread: https://forums.rpgmakerweb.com/inde...set-of-the-actor-command.181679/#post-1542395
Original thread: https://forums.rpgmakerweb.com/threads/actor-command-window-moving.181643/