This function or event no longer exists in version 6.0.2 (19034) of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions

Fills the tooltip with information about the item currently equipped in the slot used the supplied item


success = GameTooltip:SetHyperlinkCompareItem("hyperlink" [, index])


  • hyperlink - A full hyperlink, or the linktype:linkdata portion thereof, for an item to compare against the player's equipped similar item (string, hyperlink)
  • index - Index of the slot to compare against (1, 2, or 3), if more than one item of the equipment type can be equipped at once (e.g. rings and trinkets) (number)


  • success - 1 if an item's information was loaded into the tooltip; otherwise nil (number, 1nil)