SetSoundGain

(Difference between revisions)
Jump to: navigation, search
(Created page with "Change the current sound gain. The maximum value is 1<br /> The lowest value is 0 Basic Usage : setSoundGain(Sound, 0.5) ''--set sound volume at 50%''")
 
Line 7: Line 7:
  
 
     setSoundGain(Sound, 0.5) ''--set sound volume at 50%''
 
     setSoundGain(Sound, 0.5) ''--set sound volume at 50%''
 +
 +
[[Category:Lua scripting]]

Revision as of 18:08, 4 February 2014

Change the current sound gain.

The maximum value is 1
The lowest value is 0

Basic Usage :

   setSoundGain(Sound, 0.5) --set sound volume at 50%
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox