GetJournalQuestNumConditions
ESO Lua API function — used by 40 of the 3,030 addons we indexed (combined 27,965,374 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetJournalQuestNumConditions(luaindex journalQuestIndex, luaindex stepIndex)Returns: integer conditionCount
Real usage — from Dolgubon's Lazy Writ Crafter
}
for condition = 1, GetJournalQuestNumConditions(quest,1) do
conditionsTable["text"][condition], conditionsTable["cur"][condition], conditionsTable["max"][condition],_,conditionsTable["complete"][condition], _,_,conditionType = GetJourShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| CraftStore | 5,176,147 |
| Potion Maker (for Alchemy Crafting) | 3,765,616 |
| ESO Master Recipe List | 2,130,985 |
| Daily Provisioning | 1,544,059 |
| Ravalox' Quest Tracker | 1,460,568 |