MV Warning for high TP

Hi, I'm making a battle system where reaching 100 TP knocks you out, is there a plugin that changes the colour of the gauge's text (like low HP) and/or displays a message when TP gets too high?

Thanks.
I don't know about the text color changing, but you could run a troop event (in the troop page) that checks each turn if TP is over 85, and if so, make the screen flash and/or play a sound effect.

If you use yanfly YEP_BaseTroopEvent (hope I remember the plugins name right), you only have to do this in 1 troop, once for each party member (so four times if your party can't have more than 4 members) and it will be copied over into all other troops.
I don't know about the text color changing, but you could run a troop even (in the troop page) that checks each turn if TP is over 85, and if so, make the screen flash and/or play a sound effect.

If you use yanfly YEP_BaseTroopEvent (hope I remember the plugins name right), you only have to do this in 1 troop, once for each party member (so four times if your party can't have more than 4 members) and it will be copied over into all other troops.
Thank you so much! ☺️
Cool. You got it from here?
Cool. You got it from here?
I've made it so that the messages appear in the battle log at the end of the turn (which work amazing), so i don't need any help with that.
I still want the text colour to change though (just for visual consistency), so i might leave this thread open.
Sorry, I don't know how to do that.
Sorry, I don't know how to do that.
Dw about it. 👍
I still want the text colour to change though (just for visual consistency), so i might leave this thread open.
save this as a .js file and add it to your project as a plugin

Code:
Window_Base.prototype.tpColor = function (actor) {
    if (actor.tp < 85) {
        return this.normalColor();
    } else {
        return this.crisisColor();
    }
};
save this as a .js file and add it to your project as a pluginyES!
Code:
Window_Base.prototype.tpColor = function (actor) {
    if (actor.tp < 85) {
        return this.normalColor();
    } else {
        return this.crisisColor();
    }
};
Yes! That works perfectly. Thank you so much!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/warning-for-high-tp.180738/