WoW:API IsQuestCompletable: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 17: Line 17:
----
----
;''Example''
;''Example''
   if ( IsQuestCompletable() ) then QuestFrameCompleteButton:Enable();
   if ( IsQuestCompletable() ) then QuestFrameCompleteButton:Enable(); end


;''Result''
;''Result''

Revision as of 01:50, 19 November 2004

IsQuestCompletable -Documentation by AlexanderYoshi-

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.

Template:WoW API