Hi
In my level BP, I have set the wind up to change in Speed.
I would like to have the sound match the speed, so wind of .1 will be a soft sound, Wind of .7 would be a loud sound.
There are really only 2 things.
- How do I make a sound loop until I need to change it.
- When I do need to change it, how do I stop the first one playing.
Here is my basic one for testing purposes.
Any help would be appreciated.
Hi
This one the right one?
But can not find a node “Stop”
For the stop node -> add a reference to your sound - drag out the link - search for “stop”
For the branch -> just do a right click into the window - search for branch - add the ordinary branch node (under flow control)
So I made a sound VAR, but can not drag out STOP.
Would it be easier, to have 1 wind sound and change the volume / pitch buy the level of wind.
Yep, you can also do it with a “adjust volume” node. Otherwise when you want to use my upper suggestion you just have to do it with a reference instead of a variable
Hi
When I “Play Sound At Location” there is no out reference.
When you want to do it like that, it gets a little bit more difficult
I think the easiest way to turn off the other sound is to set the volume to 0 (expand the play sound at location node), because beside that there are just two ways how you could do that:
- you do it with references to a sound (therefore you will have to place the sound cues into your level) + use the play/stop nodes (easiest way ^^)
- you do it with a actor bp -> https://forums.unrealengine/showthread.php?2478-Play-a-sound-when-key-is-pressed-stop-when-no-longer-pressing
Probably someone has other suggestions