HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sound Not Playing

05-20-2007, 08:34 PM#1
ClichesAreSt00pid
I have a wierd sound problem with my JASS trigger playing sounds. It never plays the sound when it's supposed to and I have the 3d flag set and everything. It's just randomely not playing it, but then when I hit ctrl+S twice it plays the incoming sound once if i'm near it and it's currently supposed to be playing. It's really wierd.
05-21-2007, 02:43 AM#2
n13astra
I had a problem with sounds on Units/Points. I never did get it working and never did find the right help either.

I was trying to so the exact thing you are doing (code wise). Firstly, since its a periodic event that plays the sound, you might have a problem if you try and play the same global sound again if it is already playing. To stop that, create a local sound and do it that way.

As for the Playing it at a point/unit, i tried everything but couldnt get it to work. Although i never did try creating the sound locally so that might be worth a shot.


Oh and for a side note. You trigger is leaking. Make sure you nullify the group and location you created locally.

Collapse JASS:
set l = null
set g = null 

at the end before endfunction
05-21-2007, 08:25 PM#3
ClichesAreSt00pid
For some reason after a minute or 2 the incoming sound plays but not the exploding sound.

Thx for the help n13.
05-21-2007, 08:26 PM#4
Captain Griffen
Try preloading them.
05-21-2007, 08:27 PM#5
Joker
I think I saw somewhere that sounds do play the 1st time.
05-21-2007, 08:57 PM#6
ClichesAreSt00pid
Thanks for the help guys. +Rep to all that help me, as usual.

They're still not playing >.>.
05-21-2007, 09:29 PM#7
Captain Griffen
Are you playing it as a 3d sound?

Are you too far out to hear it?
05-21-2007, 09:31 PM#8
ClichesAreSt00pid
It's 3d and i'm not too far out to hear it. The ones at 600 my screen is centered on the unit and the ones at 2000 would play randomely and not play (I know so because it would hit much closer than the one playing but not play).

Edit: I found out that it will not play MP3 sounds 3d. Thats wierd.
05-21-2007, 10:11 PM#9
Pyritie
It won't? That is weird.

That might explain why my mp3 soundsets aren't working.

Damn wavs.