- Joined
- Feb 11, 2011
- Messages
- 1,860
Hi guys,
Status: Solved!
I am wondering how to play sounds in vJASS efficiently. I just want to play sounds to all players, no matter where they are looking (like the DotA spree sounds). I looked in JassCraft, and it says this is how it is done:
What do I put in between the "" (where it declares the local)? How do I properly nullify the sound when it is done playing?
Thanks for your help!
Status: Solved!
I am wondering how to play sounds in vJASS efficiently. I just want to play sounds to all players, no matter where they are looking (like the DotA spree sounds). I looked in JassCraft, and it says this is how it is done:
JASS:
local sound soundHandle = CreateSound(soundName, false, false, true, 12700, 12700, "")
call StartSound(soundHandle)
call KillSoundWhenDone(soundHandle)
Thanks for your help!
Last edited: