How to stop (Event Begin Overlap) events when the character is (Event End Overlap)

Hello, I have some set up things to fire when the character overlaps a trigger. But when they aren’t overlapping it anymore the trigger carries on regardless. How do I get it stop completely? then restart again when the character overlaps again (and so on). Thank you :slight_smile:

Try using the DoOnce node on begin overlap and reset it on end overlap.

Do you mean like this? I tested it and when I leave the box trigger it still carries on :frowning:

It seems impossible…

What do you mean by “…trigger it still carries on”?

What is the intended behavior here?

When the character overlaps the trigger box > the material changes and over a delay it changes again.

When the character stops overlapping the trigger box (the whole thing should stop) but it doesn’t, the materials still carry on changing.

I want the character to leave the trigger box an the whole sequence END until they overlap it again..

Like if you enter water an start drowning, but when you leave the water the character keeps drowning for some reason

Yea that is expected.

Once you start a delay the rest of the blueprint WILL be executed after the delay.

For that you’ll need a timer to be able to stop it at all.

Try this:

BTW the overlap object is not the one that should handle any of that.

The character should be doing everything. They should be able to get some information about the toxicity of the collision actor and should manage the counters and the toxicity level themselves.

2 Likes