-
Hey guys,
I have two buttons controlling each their sound at the same time, but when I turn one of them off, it automatically turns the other off too; even though I have assigned different names for each sound.
I am using this script for one of the buttons, with the "voice" label changed to "ambience" for the second button:
voice = new Sound();
voice.attachSound("voice");
voice.setVolume(0);
voice.start(0, 50000);
... I use "voice.setVolume(0);" when I turn 'off' the sound on the first button and "voice.setVolume(100)" to turn it 'on' again. For the second button I use "ambience.setVolume(0);" and "ambience.setVolume(100);" ...
Anyone who can help me figure out why they control eachother?
Thanks!
:: serviator
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|