GetQuestProgressBarPercent

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 6.0.2

Returns a quest's objective completion percentage.

percent = GetQuestProgressBarPercent(questID)

Arguments

questID
number - Unique identifier of the quest.

Return values

percent
number - Percentage of quest progress towards completion, from 0 to 100.

Details

Used for tasks (also known as bonus objectives) that can be progressed in a variety of ways. These quests have a single objective, but killing monsters, interacting with objects, etc. can all advance the quest towards completion.