How do you end/ stop a custom event?

good evening everyone.
I am adding polish to my players visual health queues.

Currently i have a custom event that does this:

  • If players health drops below 25%, flash yellow. This is working great.

  • I have a 2nd system that says,
    if player picks up health, turn green. Again… working great.

The issue that I am having is… once i pick up the health, the player turns green then resets the color of the player, but it keeps flashing yellow afterwards.
i dont know what command to run to turn off the health warning custom event.

What keywords can you suggest that I google to read on how to turn the event off?
i tried, “unreal how to stop a custom event”

That doesnt seem fruitful

I also tried casting to ‘event end play’ from my health pickup. no good.

I presume you’re already using some kind of loop to make it work in the first place, so you could just add a gate before the next loop, and close the gate to stop.

Or instead, run it on a timer and pause/clear the timer.

Try this:

I should have posted the code. I apologize.

As you can see, its flashing green 1 brief moment and I was hoping that it would force the yellow material to stop blinking:

This code is attached to my Master Player Character.

image

The custom event is being called through the damage code for when the player gets hit.

I figured it out. I had a sign (</ >) flipped.