[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 14
Joined
Oct 18, 2013
Messages
724
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