#metamorph buff sound how to stop it smoothly instead of instant?
6 messages · Page 1 of 1 (latest)
yeah except the problem is metamorph duration goes up everytime i spam chaos strike so a 30s duration could last 45-60s so its unpredictable
;/
then your best bet is playing the sound on a sound channel that isn't used as much like dialog and turning down the volume in steps as the time nearly runs out. Just make sure you set the volume back up when the timer runs out
https://warcraft.wiki.gg/wiki/API_C_CVar.SetCVar can adjust the volume levels
Sets a console variable.
success = C_CVar.SetCVar(name [, value])
= SetCVar
https://warcraft.wiki.gg/wiki/API_PlaySoundFile this page has the different channel CVar info
Plays the specified sound by FileDataID or addon file path.
willPlay, soundHandle = PlaySoundFile(sound [, channel])