Wowpedia
Advertisement
Wowpedia
240,483
pages

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())
Advertisement