Help with adding "Low Health" alert


Jul 5, 2018
Reaction score
First Language
Primarily Uses
Hello all, I am working on a project and would like some of the community's help figuring this one out.

My goal is to have a sound effect fire off any time an actor's HP drops to, or below, a set threshold - maybe 25% - as a warning to the player. This warning sound would not sound off again until the Actor's HP is brought up ABOVE this threshold, and then back to the warning limit. (I am not looking for a constant beeping sound, a one-off "this character is in danger" trill is all.)

I'd like this sound to fire off per-character. For example, if "Mark" takes a hit and drops to 20% of their max HP this sound fires, and then in the same round if "Lisa" takes poison damage and drops to 17% of their max HP, this sound would fire again. If Mark and Lisa do not change their health or it drops lower the sound does not fire, since neither of them went "above" the 25% warning threshold, thus "resetting" the warning.

I currently have an extremely simple Troop Event on my troops but this only fires once, for the 5th actor in the database. (This was mostly created as a proof of concept.)

I've done some searching through these forums and the web but could not fin any real solutions, however I admit I could easily have missed something so any help or points in the right direction are very appreciated.

As I write this out it appears more and more complex... If this is best / only achievable via a custom script that's alright, and I can work on that later. I'm wondering if this is (reasonably) attainable via events etc.

For reference I utilize a lot of Yanfly's engine scripts.

Thanks a ton guys!


Jul 3, 2014
Reaction score
First Language
Primarily Uses
You might want to set the span of that event to "Turn" instead of battle. If the span is "Battle", as you know, it only fires once in the entire battle.

You could try using a second event to check if the HP is above the limit and set a switch/variable to be turned on whenever it happens. Then run a check in the event triggering upon <limit HP to see if the switch/variable was on and play the SE if it was, and then turn it off (so that it won't come back on until HP goes >limit, which is when the other event triggers again and turns it back on).

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Finally did a test of sorts for the opening of my game... ... including this shot here.
My current status!?
It might be... QUAKE!!! :o
At least that was true several hours ago. :p
Quexp wrote on Shaz's profile.
I absolutely love your profile/pic! :kaoluv:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
I made a battle results screen for my minigame.. any feedback? :)

Forum statistics

Latest member