Hello, I'm using Yanfly's Status Menu Core and I would like to hide Max MP, M.Attack and M.Defense from one of my actors as he does not use those parameters. I tried googling my problem but everything I found was about completly hiding or deleting parameters. I just want to hide them for 1 actor not for all actors. Could anybody help?
Hide specific actor parameter?
Javascript/Plugin Supporthopeless bump
It would help if you posted a solution you tried that hid all of the parameters for everyone - then someone can give you a simple modification to make it only apply to one actor.
I've tried using other plugins such as:
1. https://forums.rpgmakerweb.com/inde...yanfly-compatability-added-screenshots.90942/
2. https://forums.rpgmakerweb.com/index.php?threads/show-parameters.62222/
3. https://github.com/aloeguvner/rpg-maker-mv/blob/master/plugins/ALOE_YEP_MenuParameterControl.js
Okay...you don't need any kind of big plugin for this. I was hoping one of your searches led you to the many threads with snippets posted directly in there.
So you can paste the below into a text editor, save as a *.js file, include as a plugin.
Replace 42 with the actor ID you're making this change for.
As far as MP, if you're using Yanfly plugins one of them should have the option right in the notetags to remove a gauge from an actor.
So you can paste the below into a text editor, save as a *.js file, include as a plugin.
Code:
Window_Status.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
for (var i = 0; i < 6; i++) {
var paramId = i + 2;
if ((paramId == 4 || paramId == 5) && this._actor.actorId() == 42)
continue;
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramId), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramId), x + 160, y2, 60, 'right');
}
};
Replace 42 with the actor ID you're making this change for.
As far as MP, if you're using Yanfly plugins one of them should have the option right in the notetags to remove a gauge from an actor.
The above code seems to be working only when the status menu core plugin is off
I was able to edit an existing plugin to do what I wanted to. This thred can be closed as the problem has been solved.
Original thread: https://forums.rpgmakerweb.com/threads/hide-specific-actor-parameter.171583/