GetQuestInfo
A quest’s definition.
The same shape as CreateQuest takes, with its key (nil when it has none); every objective is a table with its text, log, updatedLog, doneLog, failedLog, marker and active.
Syntax
Section titled “Syntax”GetQuestInfo(id)| Parameter | Type | |
|---|---|---|
id |
number|string | the quest’s id or key |
Returns
Section titled “Returns”table - the definition; nil when there is no such quest
Example
Section titled “Example”local info = GetQuestInfo(ERRAND)Log(string.format("%s has %d objectives", info.name, #info.objectives))See also
Section titled “See also”CreateQuest · UpdateQuest · the Quests group of the index
