v0.13.8

GetQuestObjectiveInfo

functionguessedavailable in: camelot

Returns information about a quest objective.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
questIDnumberQuestID
objectiveIndexnumberIndex of the quest objective to query, ascending from 1 to GetNumQuestLeaderBoards(questIndex) or to numObjectives from GetTaskInfo(questID).
displayCompletebooleanPass 'true' to return as if the objective were complete. You want false generally

Returns

#nametypedescription
1textstringText description of the objective, e.g. "0/3 Monsters slain"
2objectiveTypestringA token describing objective type, one of "item", "object", "monster", "reputation", "log", "event", "player" or "progressbar".
3finishedbooleantrue if sub-objective is completed, false if incomplete.
4fulfillednumberquantity of the objectives completed
5requirednumberquantity of objectives needed to finish the quest.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.