WoW:API IsQuestCompletable: Difference between revisions

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


Line 17: Line 16:
----
----
;''Example''
;''Example''
   if ( IsQuestCompletable() ) then QuestFrameCompleteButton:Enable();
   if ( IsQuestCompletable() ) then QuestFrameCompleteButton:Enable(); end


;''Result''
;''Result''
Line 26: Line 25:


: Returns true if the currently loaded quest in the quest window is completable.
: Returns true if the currently loaded quest in the quest window is completable.
----
{{Template:WoW API}}

Latest revision as of 04:46, 15 August 2023

WoW API < IsQuestCompletable

Returns true if a quest is possible to complete.

IsQuestCompletable();

Arguments
none

Returns
Boolean

Example
 if ( IsQuestCompletable() ) then QuestFrameCompleteButton:Enable(); end
Result
true | false

Description
Returns true if the currently loaded quest in the quest window is completable.