Thread Tools Display Modes
09-16-21, 05:42 AM   #1
zelgados
A Kobold Labourer
AddOn Author - Click to view addons
Join Date: Sep 2021
Posts: 1
How to disable Mission Table Alerts?

Upon login the alerts come up and I want to be able to manage them with my own addon. For now, I'd like to simply hide the alerts, but this is supposed to be a bigger addon later with more options. I've made a few minor addons where I hide or show certain things. What I normally do is find the UI element's name with /fstack and then try to run a macro like

Code:
/run Whatever:Hide()
or I take the thing and I do this:

Code:
TimerTracker.Show = function() end
AlertFrame.Show = function() end
...
etc..
Here is what I found using fstack on the mission alert:

Code:
ObjectiveTrackerUIWidgetContainer.FrontModelScene
ObjectiveTrackerUIWidgetContainer.BackModelScene
UIWidgetBelowMinimapContainerFrame.FrontModelScene
UIWidgetBelowMinimapContainerFrame.BackModelScene
UIWidgetTopCenterContainerFrame.FrontModelScene
UIWidgetTopCenterContainerFrame.BackModelScene
TimerTracker
UIWidgetPowerBarContainerFrame.FrontModelScene
UIWidgetPowerBarContainerFrame.BackModelScene
GlobalFXBackgroundModelScene
AlertFrame
GlobalFXDialogModelScene
GlobalFXMediumModelScene
I'm just taking bits from other addons and using them as a guide I really don't know what I'm doing. I write in another language so I'm also new to LUA.

In addition to my above question what is the way to begin to solve a problem like this besides /fstack and digging around in MoveAnything's LUA code? I exported the UI code from the game and I've been swimming around in that trying to make heads or tails of which thing might help with Mission Alerts.

Also, is this a situation where I need to manually load a Blizzard addon and then hide the alert/toast?

Also, any in depth resources that you have found helpful would be GREATLY appreciated. I want to get some reading done on addon dev before I dig in too much more.

Thanks for any help.

Last edited by zelgados : 09-16-21 at 05:45 AM.
  Reply With Quote
09-16-21, 06:25 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
I suggest looking into ls:toasts on how they handle alerts.

https://www.wowinterface.com/downloads/info24123.html
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » How to disable Mission Table Alerts?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off