Jump to content

Killing Game Sounds


Recommended Posts

One of the items in my mod freezes my character, then freezes the entities around it after a short time. Functionality wise, it works fine, however there is a sound thing I don't know how to deal with.

Whenever my character is frozen, the game plays all it's own freezing sounds, and on unfreezing, the ice shatter sound is played, along with my character's hurt sound, even though they're not taking any damage.

Is there a way I could interrupt all three of these sounds, silencing them? My mod has it's own sounds it plays during this interaction, so I can't have the game doing it's own thing.

 

Edit: I do know that SoundEmitter:KillSound exists, I just don't know what the sound names of these sounds are, or if this is even the right way to go about things.

Edited by TheSkylarr
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...