• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Play sound on region or for a player!

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
Bribe's trigger is related with this Event:
  • Unit - A unit enters *YourRegion*
Because, that (Triggering player) can be related with:
  • Set PlayerUnit = (Owner of (Triggering unit))


This action is to play the sound at a certain region:
  • Sound - Play *YourSound* at 100.00% volume, located at (Center of *YourPoint*) with Z offset 0.00
Note that this sound can be heard to all player that visit/see that location/region
You must use the JASS function of GetLocalPlayer like Bribe suggested to separate from that Player enter or leaving the region
 
Status
Not open for further replies.
Top