Originally Posted by
Moriat
Code:
hooksecurefunc("StaticPopupSpecial_Show",function(f)
if f == PetBattleQueueReadyFrame then
PlaySound("ReadyCheck")
end
end)
Could somebody modify the above addon so that the addon would automatically turn on sound should the "Enable Sound" Option be disabled?
Code:
hooksecurefunc("StaticPopupSpecial_Show",function(f)
if f == PetBattleQueueReadyFrame then
PlaySound("ReadyCheck", "Master")
end
end)
Try this.
Playing it though the Master sound channel should play it regardless of if the sound is muted or not.