Thread: Quest_greeting
View Single Post
08-20-08, 06:52 AM   #5
mandok
Premium Member
Premium Member
Join Date: Aug 2008
Posts: 7
Temp-Disabling a WOW Frame

Originally Posted by Cargor View Post
You could unregister the Blizz' QuestFrame from all events so that it won't be longer shown when you talk to an npc -
So while I should probably start somewhere simpler - to unregister all events I'd use:

Code:
QuestFrame:UnRegisterAllEvents()
And taking it back I'd need to reverse it based on the code:

Code:
function QuestFrame_OnLoad()
	this:RegisterEvent("QUEST_GREETING");
	this:RegisterEvent("QUEST_DETAIL");
	this:RegisterEvent("QUEST_PROGRESS");
	this:RegisterEvent("QUEST_COMPLETE");
	this:RegisterEvent("QUEST_FINISHED");
	this:RegisterEvent("QUEST_ITEM_UPDATE");
end
And get my addone to loop through the events and do something like:

Code:
QuestFrame:RegisterEvent("QUEST_GREETING")
for each one?
  Reply With Quote