ShiVa3D
Stop All Sound?? [SOLVED]
All about the StoneScriptStop All Sound??
by RedQueen » 17 Jul 2012, 17:43
I have looked through the documentation and I didn't find it under sound and was wondering if it was somewhere else. I have sound playing to a pattern as it plays. I was wondering if there was an option to stop all sound somewhere that I might have over looked. I looked in system, application and sound. There is sound.stop but you have to give the the object and index and if you ++ sounds you want to stop it could be a bit of coding.
- RedQueen
- Platinum Boarder

- Posts: 333
Re: Stop All Sound?? [SOLVED]
by Shaderman » 17 Jul 2012, 18:14
Does hud.stopAllSounds ( hUser ) help?
Call this function to stop all the sounds of the HUD SoundBank.
-

Shaderman - Platinum Boarder

- Posts: 374
- Location: Heidelberg, Germany
Re: Stop All Sound??
by RedQueen » 17 Jul 2012, 19:01
It appears to work..:/ didn't think to look under the HUD functionality.
Thanks
Thanks
- RedQueen
- Platinum Boarder

- Posts: 333
Re: Stop All Sound??
by Shaderman » 17 Jul 2012, 21:42
You're welcome. I knew I read about something like that somewhere, but didn't remember details. All I did was searching for "shiva3d stop all sounds" on google 
-

Shaderman - Platinum Boarder

- Posts: 374
- Location: Heidelberg, Germany
4 posts
• Page 1 of 1