• 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.

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