GetQuestIndexForWatch
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 1.3.0 |
This API only exists in Cata Classic and Classic Era. |
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
andGetNumQuestWatches()
.
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.