ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:    
Ambiera Forum > CopperCube > Programming and Scripting
System Sound Volume Global Variable Usage
Author Text

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: "In?ernational" (you are not logged in)


Text:

 

  

Forum 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


   





Software: Ambiera Light Forum. © 2008-2018 Nikolaus Gebhardt, Ambiera e.U.