Download

Hit component is firing too many times so I added a do once and now it only works once

I am trying to get some dialogue to show up when I bump into an object. When I do, it calls the show dialogue too many times.

I then added a do once to have it only work once. It solved the problem of firing to many times.

But then when I bump into it again, it doesn’t work.

I have tried adding in a boolean variable to and setting the boolean right after the do once and at the end again. That doesn’t work. I have also tried a branch.

Here’s my code. Does anybody have any suggestions?

This also did not work

You need to reset the DoOnce with a second event, that is called right at the end of the ‘Completed’ Pin.

I tried taking the entire chain and wrapping it back to the reset and that didn’t work…