Wikia

WoWWiki

API GetTitleText

Talk0
98,452pages on
this wiki
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
Advertisement | Your ad here

Photos

Add a Photo
61,965photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki