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!
For a spell, I'm trying to make a error message with the error sound. The problem is, how do I play a sound for the triggering player? (Im a GUI user BTW)
function PlaySoundForPlayer takes string s, player p returns nothing
local string st = s
if GetLocalPlayer() != p then
set st = ""
endif
call PlaySound(st)
endfunction
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.