Low Health Audio keeps playing after I've regained health

Hi. What I want to do here is play an audio when my health is below 30, stops when my health reaches zero OR above 30.
When I’m below 30, the audio plays as intended, but after I’ve picked up health pickables, the audio won’t stop.
The audio is looping and I’ve turned off the auto activation.
Can anyone help me with this? Thanks! :smiley:


1 Like

Get rid of this second branch and just plug right in

This branch is implied by the first anyway.

When the health goes up, does this ‘low health’ event get called? If not, that’s why the sound doesn’t stop.

1 Like

I got rid of them as you suggested, however the result is the same.

But after I call this “Low Health” in the “Add Health” function below, it works perfectly!

But I don’t know how is this happening. Doesn’t “Low Health” event also checks my current health after gaining health? Why do I have to call this event again in “Add Health” function?

You were only called it on damage. You need to also call it when health is gained.

Thanks! You really are a hero <3

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.