repeating sound as music not working

MasterOfRa

New Member
Reaction score
10
Im trying to use a repeating sound, based off of music already in warcraft, but at a different pitch, as music, i made the variable, and tried to make a scope that does that. However, it doesnt work.
It seems to stop during the pooled wait, but i have to use a wait of some kind there or it will not play the sound i think
JASS:
scope music initializer Actions
private function Actions takes nothing returns nothing
    call BJDebugMsg("sound should be playing")
    call PolledWait( 0.50 )
    call BJDebugMsg("sound should be playing")
    call EndThematicMusic(  )
    call BJDebugMsg("sound should be playing")
    loop
        call PlaySoundBJ( gg_snd_War2IntroMusic )
        call TriggerWaitForSound( gg_snd_War2IntroMusic, 0 )
    endloop
endfunction
endscope
 

Scary Nachos

Castro flashing Gang Signs!
Reaction score
45
So.... you made the sound a music.

Did you double click on it, and check 'looping'?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top