Wikia

WoWWiki

API GetTitleText

Talk0
101,723pages on
this wiki
Revision as of 06:34, February 10, 2007 by VoidvectorBot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetTitleText
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