Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}} → {{widgetmethod}}<br>) |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}}) |
||
Line 1: | Line 1: | ||
− | {{widgetmethod}} |
+ | {{widgetmethod}} __NOTOC__ |
Sets the GameTooltip to show a loot item. |
Sets the GameTooltip to show a loot item. |
Revision as of 23:52, 14 July 2008
The API is no longer being updated here until further notice. |
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())
Returns
- nil
Example
<GameTooltip name="MyGameTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/> MyGameTooltip:SetLootItem(GetNumLootItems());
Result
Sets the GameTooltip to show the last loot item.