Quantcast WoWInterface - View Single Post - How to get hidden frames?
View Single Post
06-23-19, 09:58 AM   #2
I did that?
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,203
I don't know BigWigs but that code tells me it is marked as Load On Demand (LOD).

If you open it's .TOC file you should see and entry:
## LoadOnDemand: 1
This means the addon (and it's frames) are not loaded/created until the addon is specifically loaded during play (probably by entering a dungeon or raid).

You have two choices,

1. Wait for an "ADDON_LOADED" event where the first payload parameter (the addons name for this event) is "BigWigs" and then do what you need to do,

2. Test if the addon is loaded and if not, load it yourself using
if not IsAddOnLoaded("BigWigs")
      local Loaded, Reason = LoadAddOn("BigWigs")
      if Loaded then
           -- do what you need to do
            -- it didn't load for Reason
I would suggest using the first if possible unless there is some specific reason you need the BigWigs frames earlier.
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 06-23-19 at 10:36 AM.
  Reply With Quote