View Single Post
11-22-14, 04:18 PM   #12
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by Vrul View Post
Code:
local frame = CreateFrame('Frame')
frame:Hide()
BTW, you don't need to hide the frame. It won't render anything if there are no points set or frame size.



Also, unregistering GARRISON_MISSION_FINISHED from GarrisonMissionFrame isn't enough to stop the complete mission dialog from showing. It also triggers the check function from the OnShow handler. I handled this by overriding GarrisonMissionFrame_CheckCompleteMissions with a dummy no-op function.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote