I need some better explanation on how to stop sounds cause [URL="https://developer.valvesoftware.com/wiki/Ambient_generic:_stop_and_toggle_fix"]this[/URL] doesn't help.
[QUOTE=coolaida14;40161279]I need some better explanation on how to stop sounds cause [URL="https://developer.valvesoftware.com/wiki/Ambient_generic:_stop_and_toggle_fix"]this[/URL] doesn't help.[/QUOTE]
Some sounds are looped and some are not, if you use a looped sound with IS NOT LOOPED ticked then it will screw up, try messing with that setting and it should fix itself. Also, use playsound and stopsound instead of togglesound if you don't know what you're doing.
Also, while testing, type developer 2 into console, it will show what entities fired and what didn't work proper, that way you can find the problem.
My grammar is failing but it should be understandable.
make their volume 0
My bad I didn't explain properly, I'm using custom sounds and stoping and turning volume does not work.
are they mp3 or wav
\ cause mp3s are buggy
[QUOTE=Rocketsurgery;40173310]are they mp3 or wav
\ cause mp3s are buggy[/QUOTE]
wav
[QUOTE=coolaida14;40175945]wav[/QUOTE]
make sure that audacity is set to have them be 44100 Hz and 16-bit.
If you are running into trouble with stopping sounds, try just having the trigger output that you want to stop them, set that to 'Kill' instead of 'StopSound'
Sorry, you need to Log In to post a reply to this thread.