Quantcast WoWInterface - View Single Post - focustarget targetting event
View Single Post
Unread 01-01-13, 10:29 PM   #2
A Molten Giant
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 823
Why don't you just modify Adapt to add the border if it's creating the frame?

I guess you could do something like wait for ADDON_LOADED and watch for Adapt, then call

Lua Code:
  1. hooksecurefunc(Adapt, 'CreateModel', function(texture)
  2.   if texture:GetName() ~= "FocusFrameToTPortrait" then return end
  3.   -- do stuff
  4. end)

Last edited by semlar : 01-01-13 at 10:41 PM.
semlar is offline   Reply With Quote