SetSoundGain

From MaratisWiki
Revision as of 18:05, 8 February 2014 by Dahnielson (Talk | contribs)
Jump to: navigation, search

setSoundGain(object, gain)

Change the current sound gain.

Note:

  • The maximum value is 1
  • The lowest value is 0

Example:

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