Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
System Sound Volume Global Variable Usage

techno-valley
Registered User
Quote
2017-12-25 05:35:07

Can I use the global sound variable system.soundvolume using JavaScript APIs ?

I've tried and didn't succeed. I'm wondering if someone can help me with the code


tim12345
Guest
Quote
2017-12-25 11:58:48

yes i think so using something like this...
var soundOff = "HASHTAGsystem.soundvolume"
ccbSetCopperCubeVariable(soundOff,0);

be sure to put an actual hashtag where it says HASHTAG in the code since the forum doesn't show those symbols


techno-valley
Registered User
Quote
2017-12-25 12:12:25

Thanks a lot tim12345.

I was using directly the variable HASHTAGsystem.soundvolume inside the ccbSetCopperCubeVariable function that's why It wasn't working

Thanks again




Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (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