Jump to content

Home

Stoping music


tajhma

Recommended Posts

What i want to do: Start a music for a battle and make that music stop after my opponent is dead and play another music .

What i've done: I did i script whit a task in it that make a music start with a do and wait command for that task.It also have a SET_DEATHSCRIPT with the path of my second script. No prob for the music, it play but the prob come when i want to make it stop by the other script who affect the script above (the first script is the spawnscript of the opponent). The second have the command affect... and the command play another music. The other music play but the first one continu to play. I've also tried to use a target_speaker and remove that target with my second script. It does the same as my first try. How to kill that first music and play another?

 

 

Thanx!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...