Need some help with the Skill Extender Plugin from SomeRanDev

Starting to work a bit on the battle menu and battle ui for my game and I wanted to have a skill that could call another set of skills to be selected. With the Skill Extender plugin from SomeRanDev I’ve pretty much got what I was looking for, except the window for the set of skills only appears in the middle of the screen.

There are some parameters to mess around with, but nothing to move the extended window around. I’m not exactly sure where I would want it placed instead, but I know I definitely do not want it directly in the middle. Does anyone have any insight on how to move the extended window around?

2 Likes

This is the function in SkillExtender that positions the window:


Window_SkillExtend.prototype.updatePlacement = function() {
	this.makeItemList();
	this.height = this.fittingHeight(this._data.length.clamp(1, _.maxRows));
	this.x = (Graphics.boxWidth - this.width) / 2;
	this.y = (Graphics.boxHeight - this.height) / 2;
};

You can edit it to place it wherever you need, either editing the plugin file directly or adding a copy of the function in a new plugin file.

3 Likes

I would recommend the copy in a new file method, very nice Solar_Flare

Welcome to the Community AceyP

1 Like

Thank you very much. I was able to get the menu placed in a better spot by fiddling with that part of the plugin.

THANK YOU! I’m not sure if there was an introduction area for this new forum. It’s kinda confusing after getting re-used to the old one.