Sound problems(too much and none at all)

1st problem: 2D sound does not play. I don’t know why. I put a string behind the play-box and it fires.

2nd problem: How do I stop a sound from playing if it was just played? On tick I check if true upon which the aforementioned 2D sound should play. But when it’s true it’s true A LOT!

A timer switching a boolean is the obvious answer, but I can’t for the life of me get timers to start.

1 Like

What do you mean by ‘put a string behind the play box’?

It’s not a great idea to fire sounds on tick. What is happening, what is this all part of?

1 Like

Basically I’m checking for camera pitch(looking up and down) On certain intervals( every X/180 degrees) It’ll play a sound. That one is not the problem however, I just didn’t add a sound for it yet. This one doesn’t spam.

The one that spams is the one that checks if the camera pitch is [x/180) degrees within 0. Because that one needs a different sound.

By “put a string behind the play box” I just meant that I printed a string where the sound would be. I don’t know what the boxes in blueprints are called.

I would love to not use ticks to do this, but I don’t know how else to fire off a sound when the mouse(camera pitch) has moved a set distance?

How about?

or

If you don’t want it to fire again unless you get out of that zone.

( untested )

3 Likes

Oh, I had no idea about delay. That worked swimmingly! And it resolved the sound issue. Thank you!

2 Likes