Hello !
I'm trying to change the Window_ActorCommand to make it horizontal.
However, Visustella seems to change the function, making it impossible to change the width of the Window.
I tried changing the width by writing a plugin to change Window_ActorCommand and/or Scene_Battle.prototype.createActorWindow, tried looking at the Visustella's Battle core & Sideview battle UI plugin's parameters, but I'm at a dead end.
What I tried :
Changing the rect does nothing.
Changing the rect does nothing.
Still not.
Changing the item Width don't change the parent's width, changing it's number of rows don't increase it, changing the "rect" variable do nothing...
If anyone know how to do something about it, maybe some knowledge in the Visustella's obfuscated code. I don't know.
Thanks a lot !
I'm trying to change the Window_ActorCommand to make it horizontal.
However, Visustella seems to change the function, making it impossible to change the width of the Window.
I tried changing the width by writing a plugin to change Window_ActorCommand and/or Scene_Battle.prototype.createActorWindow, tried looking at the Visustella's Battle core & Sideview battle UI plugin's parameters, but I'm at a dead end.
What I tried :
JavaScript:
Window_ActorCommand.prototype.initialize = function(rect) {
Window_Command.prototype.initialize.call(this, (rect));
};
JavaScript:
Scene_Battle.prototype.actorCommandWindowRect = function() {
return rect;
};
JavaScript:
Scene_Battle.prototype.createActorWindow = function() {
const rect = this.actorWindowRect();
};
Changing the item Width don't change the parent's width, changing it's number of rows don't increase it, changing the "rect" variable do nothing...
If anyone know how to do something about it, maybe some knowledge in the Visustella's obfuscated code. I don't know.
Thanks a lot !