Any way to only have one sound play at any given time?
I'm currently working on a project aimed at children who cannot read.
All menus and buttons are narrated to aid their understanding of the game.
The Problem : Currently, the player can sporadically move the mouse over various buttons and be greeted with a cacophony of overlapping voice sounds being played.
The way this is set up:
I have my sound classes and mix set up, and all of the sound files are set to have a maximum of 1 concurrent play, meaning the sound cannot be repeated unless the first has finished.
However, this only applies to individual sounds overlapping themselves. Is there any way of applying this logic to an entire sound class? Meaning that only one sound in the narration class can be played at any time?
Any help would be greatly appreciated.
You can do this easily if you're willing to write a little C++ Blueprint utility function. Something like this:
Add your own custom logic at some_other_custom_comparison_logic to decide if the sound shouldn't be played.
Follow this question
Once you sign in you will be able to subscribe for any updates here