Or, rather, I should say only showing 1 skill type in battle.
I can achieve this with plug-ins like Hime's Actor Battle Commands (http://himeworks.com/2015/12/actor-battle-commands/), but what I'm trying to accomplish is have the escape command be in the actor command window, which is impossible with Hime's plug-in.
Without Hime's plug-in, I can get the escape command to appear in the actor command window by tweaking a few lines of script in rpg_scenes and rpg_windows. But if I enable Hime's plug-in, it overrides these adjustments. So, without the plug-in, I can't figure out how to single out and show only 1 skill type. I think it has to do with either or both of these two bits of code:
rpg_windows
and rpg_scenes
Alternatively, if I could get the escape command to work with Hime's plug-in, that'd be fantastic too, but I've just about given up on it.
Just looking for some help on this. Thanks.
I can achieve this with plug-ins like Hime's Actor Battle Commands (http://himeworks.com/2015/12/actor-battle-commands/), but what I'm trying to accomplish is have the escape command be in the actor command window, which is impossible with Hime's plug-in.
Without Hime's plug-in, I can get the escape command to appear in the actor command window by tweaking a few lines of script in rpg_scenes and rpg_windows. But if I enable Hime's plug-in, it overrides these adjustments. So, without the plug-in, I can't figure out how to single out and show only 1 skill type. I think it has to do with either or both of these two bits of code:
rpg_windows
Code:
Window_ActorCommand.prototype.addSkillCommands = function() {
var skillTypes = this._actor.addedSkillTypes();
skillTypes.sort(function(a, b) {
return a - b;
});
skillTypes.forEach(function(stypeId) {
var name = $dataSystem.skillTypes[stypeId];
this.addCommand(name, 'skill', true, stypeId);
}, this);
};
and rpg_scenes
Code:
Scene_Battle.prototype.commandSkill = function() {
this._skillWindow.setActor(BattleManager.actor());
this._skillWindow.setStypeId(this._actorCommandWindow.currentExt());
this._skillWindow.refresh();
this._skillWindow.show();
this._skillWindow.activate();
};
Alternatively, if I could get the escape command to work with Hime's plug-in, that'd be fantastic too, but I've just about given up on it.
Just looking for some help on this. Thanks.