Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetSavedInstanceEncounterInfo

Last wiki revision 2022-08-01

Returns info about a specific encounter from a saved instance lockout. bossName, fileDataID, isKilled, unknown4 = GetSavedInstanceEncounterInfo(instanceIndex, encounterIndex)

  • instanceIndex: - Index from 1 to
  • encounterIndex: - Index from 1 to the number of encounters in the instance. For multi-part raids, this includes bosses that are not in that raid section, so the first boss in the second wing of a Raid Finder raid could actually have an encounterIndex of '4'.
  • bossName: - The localized name of the encounter in question
  • fileDataID: - The for a texture associated with the encounter, usually an achievement icon. If Blizzard hasn't designated one for the encounter, expect this return to be nil.
  • isKilled: - True if you have killed/looted the boss since the last reset period
  • unknown4: - Unused by Blizzard, has an unknown purpose, and seems to always be false

/dump GetSavedInstanceEncounterInfo(1,1) => "Vigilant Kaathar", nil, true, false

  • - Counts number of instances this function applies to
  • - A moderately similar function to this one, except it works off of dungeon IDs instead of saved instance indexes
  • - A more generic function; it allows you to pull up information on the dungeon itself instead of the individual encounters

Source

https://warcraft.wiki.gg/wiki/API_GetSavedInstanceEncounterInfo · 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.