WoW:API CompleteQuest: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API CompleteQuest to API CompleteQuest without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''CompleteQuest''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Complete the specified quest.
Complete the specified quest.


Line 24: Line 23:
;''Description''
;''Description''


: Complete the specified quest in the quest log window. Called when the CompleteQuest button is pressed.
: 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.
----
 
{{Template:WoW API}}
If you're interested in hooking the function called when completing a quest, check out QuestRewardCompleteButton_OnClick (FrameXML\QuestFrame.lua line 92) instead.

Latest revision as of 04:45, 15 August 2023

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.