• 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.

Multi-Instanceable Sounds

Status
Not open for further replies.
Level 6
Joined
Sep 11, 2006
Messages
172
I read somewhere that you can play the same sound at the same time if you call the sound's path but make it different for every instance. Can i do this with indexes? Does this leak?

I'm still new to JASS so I'm not too sure how to do this. ^^;
 
Level 6
Joined
Sep 11, 2006
Messages
172
I mean imported sounds. You can only play them once at a time.

Say I have two custom models with rifles and I have imported a custom rifle sound that is supposed to play when the custom unit attacks or uses an ability. That sound can only play once. So if I have two or more of the same model attacking or casting at the same time, you would only hear the sound once and not for all of the units.

I just want to know how you would write the script that allows you to play that sound more than once and while this sound is already playing.
 
Level 6
Joined
Sep 11, 2006
Messages
172
Ive been trying to learn this system but the provided test map doesn't seem to work with WE. I was hoping I could look at his examples and see how they are implemented.

Perhaps if you could provide the test map I could work through the script and try to learn it myself.

The simple option also sounds good. I think if I know just the basics it will be all I really need.

I was hoping to have more than 4 players on my map, but I can work with that too.
 
Status
Not open for further replies.
Top