API GetQuestIndexForWatch

Gets the quest log index of a watched quest. questIndex = GetQuestIndexForWatch(watchIndex)

Arguments

 * watchIndex : Number - The index of a quest watch; an integer between  and.

Returns

 * questIndex : Number - The quest log's index of the watched quest.

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