GameTooltip:SetLootItem

From Warcraft Wiki
Jump to navigation Jump to search

Sets the GameTooltip to show a loot item.

GameTooltip:SetLootItem(lootIndex)

Arguments

lootIndex
number - The index of the loot item to show, from 1 to GetNumLootItems().

Example

Shows the last loot item:

GameTooltip:SetLootItem(GetNumLootItems())