View Single Post
09-11-19, 12:29 PM   #9
Motanum
A Murloc Raider
Join Date: Aug 2019
Posts: 5
I used the StaticPopUp to display the messages! I nolonger have to spam my chat!

Now the only thing that triggers me is the sound that plays everytime the frame comes on, but I think in the documentation is something to change that. Or if someone else knows how to, thanks!

With that change, I think I will be happy to upload it so everyone else can know which spells are their most efficient spells.



Thanks for the huge help!

I solved the sound thing. I went over to StaticPop.lua, and overloaded the function StaticPopup_OnShow and StaticPopup_OnHide to change the play sound when it loaded in my addon folder below from where I create my StaticPopupDialogs

--Override StaticPopup_OnShow()
function StaticPopup_OnShow(self)
--PlaySound(SOUNDKIT.IG_MAINMENU_OPEN);
PlaySound(SOUNDKIT.IG_CHAT_SCROLL_UP);
...
end

Last edited by Motanum : 09-11-19 at 12:46 PM.
  Reply With Quote