GetJournalQuestNumSteps

From ESOUI Wiki

Jump to: navigation, search

This function returns the number of steps in the specified quest.

Arguments

journalIndex
The index of the quest to retrieve; it must be a number between 1 and GetNumJournalQuests(), inclusive.

Example

local desiredQuest = "The Covetous Countess" -- quest name that we care about
 
local count = GetNumJournalQuests()
for i = 1, count do
   local name = GetJournalQuestName(i)
   if name == desiredQuest then
      --
      -- We found the quest we're interested in. Let's get information on it.
      --
      local count = GetJournalNumQuestSteps(i)
      for j = 1, count do
         local journalText, _, _, hudText, _ = GetJournalQuestStepInfo(i, j)
         d("Step " .. j .. ": " .. (hudText or journalText))
      end
   end
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox