View Single Post
01-17-24, 05:43 PM   #8
Sharpedge
A Theradrim Guardian
 
Sharpedge's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2022
Posts: 66
Originally Posted by SDPhantom View Post
In all honesty, you don't need to wait for events to fire to use MuteSoundFile(). You can call it from the main chunk. Also, SoundKitIDs can map to multiple FileIDs in which a random one is picked at call. They're not interchangeable.
Lua Code:
  1. for _,fileid in ipairs({
  2.     640336, 640338, 640340,
  3.     640314, 640316, 640318, 640320,
  4.     640180, 640182, 640184,
  5.     640158, 640160, 640162, 640164
  6. }) do MuteSoundFile(fileid); end
Ahh, ok. I will give that a shot. Thank you.
  Reply With Quote