Make Defeated Sound Stop When New Game Started?

Discussion in 'How Can I...?' started by appsushi, Feb 24, 2017.

Tags:
  1. appsushi

    appsushi Boxer

    Joined:
    Feb 20, 2017
    Messages:
    20
    Likes Received:
    3
    Hopefully, this is an easy one :) !

    I have a longer defeated character sound that plays when my character dies. If the user doesn't start a new game, I want the whole sound to play. However, if they click to restart immediately, I want that sound to stop immediately. Is there a "clear all sounds playing" switch or function I can use?
     
  2. Phoebe

    Phoebe Serious Boxer

    Joined:
    Aug 9, 2016
    Messages:
    667
    Likes Received:
    391
    make a ui and take a empty Sound in it ;)
     

Share This Page