- Joined
- Nov 30, 2007
- Messages
- 1,202
JASS:
...
if (GetLocalPlayer() == Player(i)) then
call PlaySoundBJ(gg_snd_WAR)
endif
...
if (...) then
if (GetLocalPlayer() == Player(p)) then
call PlaySoundBJ(gg_snd_WAR)
endif
endif
Also, is there anything else related to playing sounds for 1 player or about sounds in general that is missing in my few lines of code?
Trigger 1 (sound is played)
Trigger 2 (I typed so fast that no sound is played)
Trigger 3 (sound is played again, enough time has passed)