- Joined
- Jul 10, 2008
- Messages
- 353
What setting i must use to save a file .wav or .mp3 in order for it to be suitable to be played by wc3.
I tried 32bit 44100Hz stereo for both by neither works...
This is the code I use
I tried 32bit 44100Hz stereo for both by neither works...
JASS:
set SoundWave1 = CreateSound("war3mapImported\\SoundWave1.mp3", false, true, false, 1, 1, "DefaultEAXON")
call SetSoundDuration(SoundWave1, GetSoundFileDuration("war3mapImported\\SoundWave1.mp3"))
call SetSoundVolume(SoundWave1, 127)
call SetSoundChannel(SoundWave1, 0)
call SetSoundPitch(SoundWave1, 1)
call SetSoundDistances(SoundWave1, 99999.0, 99999.00)
call SetSoundDistanceCutoff( SoundWave1, 99999.00)
call SetSoundConeAngles(SoundWave1, 0.0, 0.0, 127 )
call SetSoundConeOrientation(SoundWave1, 0.0, 0.0, 0.0 )
This is the code I use
Last edited: