View Single Post
05/28/20, 02:58 AM   #6
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,971
There is an event which is raised by the game as you mount. One could mute the total sound for like 2 seconds there I guess. Let me find it...

EVENT_MOUNTED_STATE_CHANGED

I guess it will be too late though! As it fires as the state WAS changed and not before, and the sound is played BEFORE that already as you press the mount key :-(
And one cannot intercept this key press to run code then, sorry.

Edit:
I'll write a few code lines and add it to FCOChangeStuff for a test. Will post you the link here later this day.

Edit2:
Good news, you only seem to hear the whistle as the mount is called and then the event fires so the sound of the mount itsself can be muted as it seems.
Still testing.

Okay it works, standard time muted is 500ms after mounting. If any mount's sound is "longer" you can adopt this up to 10 seconds after mount if you like to.

https://www.esoui.com/downloads/info...angeStuff.html

Last edited by Baertram : 05/28/20 at 04:22 AM.
  Reply With Quote