View Single Post
01-17-24, 01:46 AM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,327
The lines responsible for playing the target select and lost sounds are here
https://github.com/Gethe/wow-ui-sour....lua#L172-L178
https://github.com/Gethe/wow-ui-sour...Frame.lua#L258

There's also an API function for muting specific sounds by either path or FileID.
MuteSoundFile()

Taking the SoundKitIDs and looking up their FileIDs, these calls should do the trick.
Lua Code:
  1. MuteSoundFile(567453);
  2. MuteSoundFile(567520);
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote