Wikia

WoWWiki

Changes: API GetTitleText

Edit

Back to page

(upgraded deprecated template)
m (Remove singatures made using ~ in main namespace)
 
Line 1: Line 1:
 
{{wowapi}}
 
{{wowapi}}
--[[User:Mesoonic|Mesoonic]] 05:51, 24 Mar 2005 (EST)
 
 
;:'''Description'''
 
;:'''Description'''
 
;When you select an NPC who offers a quest, you use this function
 
;When you select an NPC who offers a quest, you use this function

Latest revision as of 06:34, February 10, 2007

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