Having dialogue play the first time a characters HP is low in combat

How can I have it so that the first time a party member's HP is low in combat, a dialogue box plays? This should be able to run in any encounter, and only ever run once.
That's what troop events are for. One of the conditions is the HP percentage of an actor, and one of the Span settings is to make it only happen once per battle.

You'd either copy and paste the event into each troop or use a plugin for base troop events to place it once and have it run in all troops.
Ok, thanks. I was hoping to avoid putting it in the troop itself, since it would have to be in every troop. I'll look for a plugin for a base troop.
additionally, you'll need to check and set a switch if this is only to happen once in the entire game - without a switch to mark that message as 'already played' it will happen once per every battle.

and during battle, only troop events can be automatically triggered because parallel processes are all stopped. so there never was a chance of doing this without troop events.
Ok, thanks. I was hoping to avoid putting it in the troop itself, since it would have to be in every troop. I'll look for a plugin for a base troop.
http://www.yanfly.moe/wiki/Base_Troop_Events_(YEP)
I use this one which works perfectly... (and it's in the free Yanfly plugin pack, just in case)
Edit : Ah, I answered too quickly and wasn't paying attention! I didn't see that you were on MZ, sorry...
I should to report myself
@alasth the OP is using MZ, not MV - is that one compatible?
@alasth the OP is using MZ, not MV - is that one compatible?
I'm just stupid, I edited my message 😛
I Googled "rpg maker mz base troop event" and VisuStella Battle Core comes up. I don't know if there are any non-VS alternatives, if that's something you care about.

Even if not, it takes all of a few seconds to copy and paste the event page when you make a new troop...I started my project before knowing about base troop event plugins, and it's really not any kind of hardship.
I Googled "rpg maker mz base troop event" and VisuStella Battle Core comes up. I don't know if there are any non-VS alternatives, if that's something you care about.

Even if not, it takes all of a few seconds to copy and paste the event page when you make a new troop...I started my project before knowing about base troop event plugins, and it's really not any kind of hardship.
thank you for letting me know! im already using visustella but totally skimmed over the presence of a base troop lol
While you already have VS and such for your base troop event, just in case anyone else is looking for troop events that carry across every troop and potentially want a VS alternative, [Cae_Tweaks] also has that functionality (D01 in the list) among a bunch of other nifty stuff.

For the sake of anyone who stumbles on here by google or something, and always good to have other options just in case, haha.

Original thread: https://forums.rpgmakerweb.com/threads/having-dialogue-play-the-first-time-a-characters-hp-is-low-in-combat.172671/