GetQuestIndexForWatch

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.3.0

Gets the quest log index of a watched quest.

questIndex = GetQuestIndexForWatch(watchIndex)

Arguments

watchIndex
number - The index of a quest watch; an integer between 1 and GetNumQuestWatches().

Returns

questIndex
number - The quest log's index of the watched quest.

Caveats

This function can return nil for valid watchIndex values if the watched quest isn't yet in the client cache. This can happen when logging in after clearing the cache.