SetSoundGain
From MaratisWiki
setSoundGain(object, gain)
Change the current sound gain.
-
object
: object to operate on -
gain
: gain of sound
setSoundGain(Sound, 0.5) --set sound volume at 50%
Note:
- The maximum value is 1
- The lowest value is 0