Stopping a sound

Status
Not open for further replies.
Level 4
Joined
Sep 15, 2013
Messages
53
I have this:
Event: whenever a unit dies
Condition: if the dying unit is a hero
Action: a sound will play.
But i want to stop the sound from playing, once the hero respawns. I wanna ask how can i achieve this? Can someone help me. Thanks!
 
For some reason the topic creator decided to PM me instead of replying to the thread. For this reason I have created a bump.

There should be an action to stop a sound playing. When hero revives you run that action on the sound. The sound should be stored in a variable and reused.

Attached is a demo map showing how one can play and stop sounds. Type "play" to start the sound and "stop" to stop it.
 

Attachments

Status
Not open for further replies.
Back
Top