1. #1

    Sound indication for pet battle Window?

    Hello everyone. (Not sure if my Question belongs in the *Ask it! UI/Mods Edition* or not. Feel free to move my Thread/Request)

    How comes there's no Sound for the Pet Battle queue? Every other queue has a sound Indication. LFR and BG queue as example.

    Anyway is there a Addon/Script/Trick to add a Sound/Notification if the Pet Battle queue pops ?

  2. #2
    Deleted
    Which sound do you want it to play?

    Code:
    hooksecurefunc("StaticPopupSpecial_Show",function(f)
        if f == PetBattleQueueReadyFrame then
            -- play sound here
        end
    end)

  3. #3
    Quote Originally Posted by Treeston View Post
    Which sound do you want it to play?

    Code:
    hooksecurefunc("StaticPopupSpecial_Show",function(f)
        if f == PetBattleQueueReadyFrame then
            -- play sound here
        end
    end)
    Same sound as BG queue would be awesome. Also what exactly am I supposed to do with that code? Just create a Macro and click the Macro each time I log in?
    Last edited by Scooby Dooby Doo; 2013-01-10 at 06:44 PM.

  4. #4
    Deleted
    Code:
    hooksecurefunc("StaticPopupSpecial_Show",function(f)
        if f == PetBattleQueueReadyFrame then
            PlaySound("ReadyCheck")
        end
    end)
    How to use

  5. #5
    Quote Originally Posted by Treeston View Post
    Code:
    hooksecurefunc("StaticPopupSpecial_Show",function(f)
        if f == PetBattleQueueReadyFrame then
            PlaySound("ReadyCheck")
        end
    end)
    How to use
    Works perfectly. Thank you so much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •