Returns information about available item rewards for the selected quest in the quest log. This function refers to quest rewards for which the player is allowed to choose one item from among several; for items always awarded upon quest completion, see GetQuestLogRewardInfo.


See also Quest functions.

Signature:

name, texture, numItems, quality, isUsable, itemID = GetQuestLogChoiceInfo(index)

Arguments:

  • index - Index of a quest reward choice (between 1 and GetNumQuestLogChoices()) (number)

Returns:

  • name - Name of the item (string)
  • texture - Path to an icon texture for the item (string)
  • numItems - Number of items in the stack (number)
  • quality - Quality of the item (number, itemQuality)
  • isUsable - 1 if the player can use or equip the item; otherwise nil (nil)
  • itemID - ID of the item (number)