• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

What happens when i trigger to play a sound?

Status
Not open for further replies.
Level 5
Joined
Jan 2, 2013
Messages
87
basically i made a trigger to play a sound to a specific player, at least that's the idea

my questions
1. will other players hear it?
2. will the sound loop? or just play once
3. does it leak, or a method to prevent leak
4. if question 1 is a yes, is there a way i can make it so only a specific player can hear it?
 
For playing a sound for one player:

https://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/getlocalplayer-225738/

For the leak part:

https://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/memory-leaks-263410/

If I remember correctly, most Sound's have to played at a point/or on a unit, which potentially could leak a point. I'm not 100% sure if sound themselves leak or not - though there is a destroy sound function so I would say they do.

Again not 100% certain, but the sound should only play once.
 
Status
Not open for further replies.
Back
Top