Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
mute all sounds?

babis
Registered User
Quote
2017-05-30 06:12:22

I use this script to mute a sound:

var s = ccbGetSceneNodeFromName("Sound1");
ccbSetSceneNodeProperty(s, "Volume",0
);

When i want to mute all sounds of a specific scene which script i can use?


niko
Moderator
Quote
2017-05-30 12:21:43

Scroll down to "Special Variables" on this page: http://www.ambiera.com/coppercub...

There is a system variable named system.soundvolume. You can set the sound volume with that.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact