Originally Posted by Cargor
You could do this by hooksecurefunc'ing "InspectFrame_LoadUI" (called to load the InspectUI), "InspectUnit" (called every time an unit is inspected.
|
It would be much much better to just listen to the ADDON_LOADED event for when the "Blizzard_InspectUI" addon loads than doing any ugly hooking like that.