Not bad, pretty straightforward and it works, though if you're just spawning the sound through the "Play sound at location" node you don't need the cue components in the player, you're effectively just pulling their location, any settings you change on that audio component will have no effect on the sound that gets played. You could instead pull a reference from that sound component and play it, or just replace them with scene components if you'd rather still use the fire and forget play nodes, since you don't need the extra references or component data in the player blueprint.
I am wondering, is there a way for me to press a certain key on my keyboard to stop the sound while it's playing? For instance, im doing this thing in my project where it acts as an alarm going of randomly but i want to press E to stop the sound when looking at it temporarily until the next sound plays. Im only using one sound by the way.
Not bad, pretty straightforward and it works, though if you're just spawning the sound through the "Play sound at location" node you don't need the cue components in the player, you're effectively just pulling their location, any settings you change on that audio component will have no effect on the sound that gets played. You could instead pull a reference from that sound component and play it, or just replace them with scene components if you'd rather still use the fire and forget play nodes, since you don't need the extra references or component data in the player blueprint.
Matt your tutorials are AWESOME!
Thank you James, that means a lot. Happy to help :)
this will work in my zombie game thank you
That's great, no problem! :)
Thanks :) and nice video
No problem, and thank you mate :)
Want more videos in this series.
Would it be possible to make a tutorial on how to make foliage sound when player runs through bush?
I think I could look into doing that yeah :)
nice thanks mate
No problem mate, glad I could help :)
I am wondering, is there a way for me to press a certain key on my keyboard to stop the sound while it's playing? For instance, im doing this thing in my project where it acts as an alarm going of randomly but i want to press E to stop the sound when looking at it temporarily until the next sound plays. Im only using one sound by the way.
You do good things, thank you very much, I at least think less that Yes how to implement in my hopeless case.
Thank you man, that means a lot :D
And best of luck with all of your projects in the future :)
For the second method the delay doesnt work
Sound
Thanks man 👍🏻