WoW:API CompleteQuest: Difference between revisions
Jump to navigation
Jump to search
m ({{wowapi}}) |
(CompleteQuest() is not called when the Complete Quest button is pressed. Updated with actual behaviour.) |
||
Line 23: | 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. | ||
If you're interested in hooking the function called when completing a quest, check out QuestRewardCompleteButton_OnClick (FrameXML\QuestFrame.lua line 92) instead. |
Revision as of 08:14, 24 February 2009
← WoW API < CompleteQuest
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.