Wikia

WoWWiki

Watchlist Recent changes

API GetTitleText

Main Menue



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

Pages on WoWWiki

94,214pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,641photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki