- Music stops when quiting a map
- Music Blocks can stop music now
- Message blocks when they have an empty string won't add a line to the chat window now
- Fixes a crash when converting old maps due to the trigger manager hasn't been created yet
- sound.playSoundUI(soundName) - Plays a normal 2d sound
- sound.playSoundUI(soundName, volume, pitch) - Plays a 2d sound with a set volume and pitch change
- sound.playSound3D(soundName, x, y, z) - Plays a sound at the specified 3d position
- sound.playSound3D(soundName, x, y, z, volume, pitch) - Plays a sound at the specified 3d position, volume, and pitch change.
- sound.playMusic(musicName) - Plays the specified music
- sound.playMusic(musicName, fadeOut, fadeIn) - Plays the specified music, with fading out the current playing music over x ms and fades in the new music over y ms.
- sound.stopMusic() - Stops the current music
Sunday, June 5, 2011
r747 - Sound and Music Changes
An update with lots of little things in regards to sound and music.
Posted by Cryect at 8:46 PM