• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Sound Problems (leak removing)

Status
Not open for further replies.
Level 2
Joined
Oct 11, 2015
Messages
20
Im trying to remove this leaking sound but when it is destroyed it doesn't play a sound. Though it says in the "configure action" that "if the sound is already playing, it will be destroyed upon finishing." lol but it doesn't play my firstblood.mp3
  • First Blood
  • Events
    • Unit - a unit Dies
  • Conditions
    • ((Triggering unit) is A Hero) Equal to True
  • Actions
    • Player - Add 200 to (Owner of Killing unit)) Current gold
    • Sound - Play firstblood <gen>
    • Sound - Destroy (Last played sound)
    • Trigger - Turn off (This trigger)
 
Level 13
Joined
Oct 18, 2013
Messages
691
First Blood is something that is only played once a game (usually) If thats the case, set a timer or wait action after playing the sound, then destroy it.
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
If it doesn't get destroyed, the only thing I can think of is the "looping" option in Sound Editor. Uncheck that.

Well that may be a stupid solution since you didn't mention anything about "looping", yet, you don't have to destroy that sound everytime, because it doesn't get looped, so it really doesn't matter. Using a wait action will affect the multi instances or the trigger.
 
Status
Not open for further replies.
Top