Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
(CompleteQuest() is not called when the Complete Quest button is pressed. Updated with actual behaviour.)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
{{wowapi}}
<center>'''CompleteQuest''' ''-Documentation by AlexanderYoshi-''</center>
 
 
 
Complete the specified quest.
 
Complete the specified quest.
   
Line 24: Line 23:
 
;''Description''
 
;''Description''
   
  +
: Unlike the name would suggest, this does not finalize the completion of a quest. Instead it is called when you press the continue button, and is used to continue from the progress dialog to the completion dialog.
: Complete the specified quest in the quest log window. Called when the CompleteQuest button is pressed.
 
  +
----
 
  +
If you're interested in hooking the function called when completing a quest, check out QuestRewardCompleteButton_OnClick (FrameXML\QuestFrame.lua line 92) instead.
{{Template:WoW API}}
 
[[Category:API Functions|CompleteQuest]]
 
[[Category:API Quest Functions|CompleteQuest]]
 

Revision as of 08:14, 24 February 2009

Complete the specified quest.

CompleteQuest();

Arguments
none

Returns
nil

Example
CompleteQuest();
Result

Description
Unlike the name would suggest, this does not finalize the completion of a quest. Instead it is called when you press the continue button, and is used to continue from the progress dialog to the completion dialog.

If you're interested in hooking the function called when completing a quest, check out QuestRewardCompleteButton_OnClick (FrameXML\QuestFrame.lua line 92) instead.