• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Problems with a sound

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hello, guys! I have a tiny problem here. Why i can't play the same sound many times at once? I mean, i wanna play a sound when a unit gets hit by my spell. But the sound isn't being played again if it is already playing.
Dunno if you understand what i mean...
If a sound is currently playing, i need to wait for it to end and then i can play it again. I want to play it whenever i want, doesn't matter if the sound is currently playing. I don't care if it's "overlapping". My sound is a 3D sound, btw, a blizzardy sound, just using it as a variable.
So how do i do this?

Help is highly appreciated! :thumbs_up:
 
Level 8
Joined
Feb 3, 2013
Messages
277
I'm not a 100% sure either - I think the game just innately mutes sounds if there are too many playing at the same time. In my experiences with sound, I could play up to a maximum of a couple sounds at a time - anymore than that and some will not play properly.

Sorry I don't have a solid answer, but I think that's just the way it is.
 
Status
Not open for further replies.
Top