Stop sound script please.
Hi all, I've seen alot of script outhere about stopping sound with someone saying something or opening a door unlock sound. I want a script that does this :
When you enter a room, any sounds stops and a ambiance music starts. If you change room, then, same thing happens, the ambiance sound that was playing in your other room stops and the new ambiance music starts...It must be in a ON ENTER tag.
so....
ON ENTER
stop whatever is playing then
play the new sound file.
Thanks.
|