Returns the index of the selected quest in the quest log


See also Quest functions.

Signature:

questIndex = GetQuestLogSelection()

Returns:

Examples:

-- Prints information about the currently selected quest
local index = GetQuestLogSelection()
local name = GetQuestLogTitle(index)
if name then
  print("Currently viewing " .. name)
end