HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sound not playing

04-19-2009, 03:27 AM#1
wraithseeker
Collapse JASS:
 local sound blizzard = CreateSoundFromLabel("BlizzardLoop1",false,true,true,10,10)
    local sound bTarget = CreateSoundFromLabel("BlizzardTarget1",false,true,true,10,10)
    local unit u
    local unit dummy
    local group g = NewGroup()
    set source = d.caster
    call GroupEnumUnitsInRange(g,d.x,d.y,600,b)
    call SetSoundPosition(blizzard,d.x,d.y,0.00)
    call StartSound(blizzard)
    call SetSoundPosition(bTarget,d.x,d.y,0.00)
    call StartSound(bTarget)

This sound is failing and I hear nothing.
04-19-2009, 07:10 AM#2
0zyx0
Does it play the second time you try it? Sounds does sometimes not play the first time, because they have to be loaded first. If this is the case, you could solve the problem by preloading the sound.
04-19-2009, 12:42 PM#3
wraithseeker
No.
04-21-2009, 04:33 AM#4
Pyrogasm
Perhaps you need to set its volume first?