Lore archive · Warcraft Wiki, 2023 dump
API C QuestLog.GetQuestObjectives
Last wiki revision 2022-12-10
Returns info for the objectives of a quest. objectives = C_QuestLog.GetQuestObjectives(questID)
- questID: - Unique QuestID for the quest to be queried.
- objectives: - a table (can be an empty table for quests without objectives) containing: a subtable for each objective which in turn contains the below values
For example, calling this function for the quest Colonel Kurzen (quest) returns a table with three subtables (with keys 1, 2, and 3), two with the type "monster" and one with the type "item".
Quests that have been encountered before (i.e. cached) are able to be queried instantly, however if the function is supplied a quest ID of a quest that isn't cached yet, it will not return anything until called again. Sometimes three calls are needed to fully cache everything (such as text).
It returns an empty table for some quests without any objectives, for example A Threat Within.
Source
https://warcraft.wiki.gg/wiki/API_C_QuestLog.GetQuestObjectives · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.