API IsQuestFlaggedCompleted

From Wowpedia
Jump to: navigation, search

Determine if a quest has been completed.

isCompleted = IsQuestFlaggedCompleted(questID)

Arguments

questID 
Number - The quest to query.

Returns

isCompleted 
Boolean - true if it is completed, false if not or if the questID is not valid.

Example

print(IsQuestFlaggedCompleted(30041))  -- For a Pandaren
true
print(IsQuestFlaggedCompleted(13485))  -- The Panda has not Honored the Borean Tundra flame. 
false

See also

Patch changes