Make OnComponentHit act like OnComponentBeginHit

So I noticed there wasn’t an “OnComponentBeginHit” and only the “OnComponentHit” which doesn’t work for me since I want to play a sound every time someone hits an object and doing this:

doesn’t work because it constantly plays the sound when on the ground (stationary)
So I want it to only play the sound once the hit BEGINS, how would I do that?

Thanks in advanced!

So if you want to play the sound only once have a look at using a Do Once node which you link the Reset when you want to play the sound again later.

If you want to simply prevent the ball playing a mad amount of times, the sound file option (double click it in content editor) has a setting for Max plays. Setting that to 1 will make sure it doesn’t go nuts. Also there is a policy drop down to set various ways it will dupe the sound.

Hope this helps. :slight_smile:

How can I make the DoOnce reset once I’m in the air again?