I couldn’t fit the proper context in the question, but I am currently making a round-based game and have the system in place to change the round and increase it, but when I try to add music to the END of the round, the 2d sound seems to play multiple times at once, and I believe it has something to do with the tick event running every frame but I am not certain. This screenshot shows my code, although I took it after I created a custom event and switched the execution pin. The pin for the bottom sequence was originally attached to event tick.
The way the round currently ends is that three cubes despawn after a few seconds, and trigger the “new round” function. I just want one single instance of the sound to play, and I really want it to play during an “end of the round” phase, when the last cube is destroyed, prompting an intermission of about 15 seconds before the new round function runs again.
But my main concern is the music. Is there a reason that the 2d node plays numerous times at once?
EDIT: After running a string debug, I confirmed that it is the tick event that is causing the sound to play so much. It is just playing the 2d sound every frame, so I know that I do not want to use a tick event for this.
But how do I trigger the round system with a custom event? I have the logic for ending the round, but not starting the next one.
