MV plugin that can hide the tp gauge for a specific actor

title
i heard that yanfly's skill core can do this but it didn't work when i tried
Make a new plugin with any name and insert this:

Code:
Window_BattleStatus.prototype.drawGaugeArea = function(rect, actor) {
    const shouldShowTp = (
        $dataSystem.optDisplayTp &&
        actor &&
        !actor.traitObjects().some(object => object && object.meta && object.meta['No TP'])
    );
 
    if (shouldShowTp) {
        this.drawGaugeAreaWithTp(rect, actor);
    } else {
        this.drawGaugeAreaWithoutTp(rect, actor);
    }
};
(MV code, may not work in MZ)

Now, you can write <No TP> to any actor's notetag box to disable TP gauges.
Now, you can write <No TP> to any actor's notetag box to disable TP gauges.
i did as you instructed but when i initiated a battle i got this error
"Cannot read property 'No TP' of undefined"
Sorry, I did a small mistake. Please try again.
Sorry, I did a small mistake. Please try again.
i tried the updated version but it appeared to have the same result
I tried a different approach now. It should not crash anymore.
Mind if I ask what didn't work with Yanfly's Skill Core? That one works fine for me.
I tried a different approach now. It should not crash anymore.
unfortunately it still crashes with the same error message
Mind if I ask what didn't work with Yanfly's Skill Core? That one works fine for me.
the notetag, the game was acting like it wasn't there no matter where i put it
i'm certain that i set it up correctly
Are you sure your YEP plugins are in the correct order?
if you did exactly as instructed it should work.

else screenshot your plugin database so we can see more or the error in
the console log as well.
else screenshot your plugin database so we can see more or the error in
the console log as well.
well i can't use the console log because of one of my plugins and i'm not sure if i can provide a screenshot of the plugin database
but i can assure you that the yanfly plugins are ordered as instructed
well i can't use the console log because of one of my plugins
This is not something you should leave unfixed. That sounds like something you should be prioritizing your troubleshooting on.

I'm not sure if i can provide a screenshot of the plugin database
I don't know what a "plugin database" is. You have your plugins, and you have your database; 2 different things. The database is where you edit actors, skills, items, armors, weapons, etc.
And why can't you? Just press windows key+shift+s. Or if you are unsure, just google "how to take screenshot windows"



Did you try this plugin on a new game? Do not load an old save.
This is not something you should leave unfixed. That sounds like something you should be prioritizing your troubleshooting on.
i don't think its a problem that needs fixing, really
i never really used the console log in the first place, besides, super tools engine is a really good trade-off
And why can't you? Just press windows key+shift+s. Or if you are unsure, just google "how to take screenshot windows"
Screenshot 2024-07-18 030029.pngScreenshot 2024-07-18 030049.png
it was less because i didn't know how to and more so because i didn't feel like it
i'm pretty sure these screenshots can confirm that there shouldn't be anything wrong with my plugin manager
Did you try this plugin on a new game? Do not load an old save.
yeah, i used a new game
i never really used the console log in the first place, besides, super tools engine is a really good trade-off
1) the plugin can just be disabled if the console is needed and just put back on again afterwards
2) SuperTools only disables F12. F8 still can be used to open the console
2) SuperTools only disables F12. F8 still can be used to open the console
ah
all i'm seeing in the console is the error message
i never really used the console log in the first place, besides, super tools engine is a really good trade-off
This is incorrect information and a bad practice.
Firstly, Super Tools does not disable the console.
Secondly, the console shows you what is going on within your, as you discovered:
all i'm seeing in the console is the error message
Goodness me oh my, what wonders you can discover when you use the tools the engine provides you.

On a similar note, considering the frequency of your posts here, even if you are not using the console, if we are going to troubleshoot stuff for you, we will want to see the console in many cases.

Though considering your attitude (see below) I can imagine goodwill here will be burned up as far as helping you.
it was less because i didn't know how to and more so because i didn't feel like it
This is a bad attitude to have, especially when you are asking us for help.

"I need help."
"Can you share with us some information so we can help you?"
"Nah...I really don't feel like it."

Which seems par for the course considering your thread post was "title", and following up with Aerosys's kindness not only did you hardly explain the error to help him troubleshoot his code for you, you also couldn't even be bothered to say "thank you" - which by the way, the plugin works.
So it's an error with either your own game or however you handled Aerosys's plugin and notetag.

Welp. Good luck with your game. I hope you can learn to get over your bad attitude.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-that-can-hide-the-tp-gauge-for-a-specific-actor.170382/