Wikia

WoWWiki

API GetTitleText

Talk0
101,547pages on
this wiki
Revision as of 17:26, January 6, 2007 by Hobinbot (Talk | contribs)

WoW API < GetTitleText

--Mesoonic 05:51, 24 Mar 2005 (EST)

Description
When you select an NPC who offers a quest, you use this function
to obtain the quest name even before it is accepted
Example
function MesoonicUI_OnLoad()
this
RegisterEvent("QUEST_DETAIL")
end
function MesoonicUI_OnEvent()
if (event == "QUEST_DETAIL") then
MesoonicUI_DisplayQuestName()
end
end
function MesoonicUI_DisplayQuestName()
DEFAULT_CHAT_FRAME
AddMessage(GetTitleText())
end

Around Wikia's network

Random Wiki