Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Voice continues playing even when skipped #3832
I am using the voice= tag in the story of my scenario and receiving an issue. Here is the code that I am using:
But if I press the "skip" button while the sound file is playing, it continues to play even while the scenario is running. This is a bad behavior because then the voice over is playing while you are moving your units.
gfgtdf suggested I post this as a bug here.
I looked at the code for this and noticed that it's not even adding a sound source (as the equivalent code in [c][message][/c] does) but just directly playing a positioned sound. I think the entire reason for using a position sound is to make use of the sound ID to allow the sound to be stopped, so I guess what you'd need to do is add another call to stop the voice when the dialog exits.