Hi everyone,
I have a Sound Cue playing random notes on a scale when triggered. The problem I’m having is that when the next note is triggered, the previous note automatically stops, making it sound ugly.
How can I make it so that the previous note will finish playing, even when a new note is triggered?
Thanks!
Hey @SweetChili63!
Try not using PlaySound 2D, but instead adding an audio component to the actor if it is multiple actors, or adding several audio components if it is one actor.
Then, if it is a single actor, use a switch on Int, a play node with the input coming from the switch on int, and your audio components going into that switch on int.
When a sound is played, add 1 to your integer that goes into the switch on Int, and use a branch to check for when the number reaches the top of the list and then you can set the Int back to the lowest number.
This SHOULD work as these are all separate sound generators, whereas PlaySound2D is only one sound source so it ends the previous to begin the next.