Thread: SoundUtils
View Single Post
Old 08-31-2009, 02:13 PM   #16
Rising_Dusk
Obscurity, the Art


Projects Director
Project Leader: OD
 
Join Date: Feb 2006
Posts: 9,729

Submissions (27)

Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)Rising_Dusk has a reputation beyond repute (1192)

Hero Contest #3 - 1st PlaceApproved Map: Desert of ExileApproved Map: Advent of the ZenithHero Contest #2 - 1st PlaceHero Contest - Third place>

Send a message via AIM to Rising_Dusk Send a message via MSN to Rising_Dusk
Default

Quote:
Originally Posted by Anachron
You should add an option what player to play the sound to
Uh, well, I am pretty sure that the following won't desync:
Collapse JASS:
if GetLocalPlayer() == MyPlayer then
    call RunSound(MySound)
endif

Furthermore, though, when does it ever make sense for only one player viewing an action to hear the sound? If I shoot a missile at a point, all players should hear the explosion, stuff like that.
__________________
Rising_Dusk is offline   Reply With Quote
Sponsored Links - Login to hide this ad!