As the title says,
I am trying to move the Actor Command window while using portrait layout in VisuStealla Battle Core.
I had no issue moving the Skill window. But the Actor Command seems to be handled differently. Assuming:
is what should be altered. But any changes to the values
doesn't change anything.
Leads me to believe that VS is using a custom function. Any ideas?
Nvm, overwrote the function
Thanking @Arthran for a previous plugin that helped me identify the right function ^_^
I am trying to move the Actor Command window while using portrait layout in VisuStealla Battle Core.
I had no issue moving the Skill window. But the Actor Command seems to be handled differently. Assuming:
Scene_Battle.prototype.actorCommandWindowRect = function() {
const ww = 192;
const wh = this.windowAreaHeight();
const wx = this.isRightInputMode() ? Graphics.boxWidth - ww : 0;
const wy = Graphics.boxHeight - wh;
return new Rectangle(wx, wy, ww, wh);
};
is what should be altered. But any changes to the values
Scene_Battle.prototype.actorCommandWindowRect = function() {
const ww = Graphics.width/5;
const wy = Graphics.boxHeight/2;
const wh = Graphics.boxHeight/2;
const wx = Graphics.width/3 * 2;
return new Rectangle(wx, wy, ww, wh);
};
doesn't change anything.
Leads me to believe that VS is using a custom function. Any ideas?
Nvm, overwrote the function
Window_ActorCommand.prototype.moveThanking @Arthran for a previous plugin that helped me identify the right function ^_^