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!
Is it possible to play a sound for 1 individual player because I have a sound which I use to tell someone they are dead, but I only want the dead player to hear it.
Thanks, But I'm no good with variables, can you:
1. I'll upload the map with this post and you can do it.
OR
2. Explain how to use it.
Note: I cannot make any progress on the map until something is done.
I need to make any hero unit killed by 'Eveneroc' that does not belong to red or blue's players hear the variable 'andthatconcludesourdemo'.
Yeah, it's not wrong, it's just that when the sound is played for the first time, it should go from null to a specific value, not the other way around (cause it will simply not play). The map works fine, so :]
Quote from PurgeandFire111's tutorial:
Congratulations, you made it correctly! HOWEVER, if this string is used for the first time (as in, have you never used that string before [which means it isn't in the string table]) can cause the string table to become unsynchronized (it enters the string table for only one person), which can also lead to some desyncs:
JASS:
function Test takes nothing returns nothing
//this is the proper method
local string s = "war3mapImported\\FX.mdl"
if GetLocalPlayer() != Player(0) then
set s = ""
endif
call DestroyEffect(AddSpecialEffect(s,0.,0.))
endfunction
That is the proper method for creating effects locally.
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.