Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: HelLRaiseR on May 09, 2009, 02:51:52 PM
-
Hi,
I've several sprites that makes repetitive sounds, for example, a metalic letter with wind swing that make a creacking sound.
When the player has a long time in the scene, the sound is very irritate and I want to play the sound in a low volume.
Can I change the volume of the sprite sound?
Thanks in advance.
-
No, if you need to change sound volume individually, you'll need to use the PlaySound() script method of a given object. Then you can change the object's sound volume using SetSoundVolume() method.
-
Thanks Mnemonic, I supose that the better solution is send a event in specific frame and use the PlaySound and SetVolume methods in the script event. isn't it?
-
If you need the sound to be tied to a specific animation frame, then yes, that's the way to go.
-
Thanks