| 12-11-2007, 12:11 AM | #1 |
I have a looping sound in my map however it starts to cut out twords the end and then just stops... its a 36 second mp3 and works just fine by itself or in the wc3 sound manager ;/ Trigger: JASS:function VexorianMusicList takes nothing returns real local string array music local string list local integer a=0 local integer b local real duration=0.00 local integer max=43 call ClearMapMusicBJ( ) loop exitwhen a>=40 set a=a+1 set music[a] = "music.mp3" endloop set a = 0 loop exitwhen a>=4 set a=a+1 set b=GetRandomInt(0, max) set duration=duration+GetSoundFileDurationBJ(music[b]) if a==1 then set list=music[b] else set list=list+";"+music[b] endif if not (b==max) then set music[b]=music[max] endif set max=max-1 endloop call SetMapMusicRandomBJ( list ) return(duration) endfunction |
| 12-19-2007, 09:22 AM | #2 |
um... anyone... Bueler? |
