Updated example itemStrings to have 8 fields for WoW 2.0
No edit summary |
(Updated example itemStrings to have 8 fields for WoW 2.0) |
||
| Line 12: | Line 12: | ||
:; [[itemString]] : string - a string representing an ingame item or enchant. For instance: | :; [[itemString]] : string - a string representing an ingame item or enchant. For instance: | ||
::: "item:16846:0:0:0" is the link id for the "Giantstalker's Helm". | ::: "item:16846:0:0:0:0:0:0:0" is the link id for the "Giantstalker's Helm". | ||
::: "enchant:23804" is the link id for "Enchant Weapon - Mighty Intellect". | ::: "enchant:23804" is the link id for "Enchant Weapon - Mighty Intellect". | ||
| Line 29: | Line 29: | ||
== Example == | == Example == | ||
GameTooltip:SetHyperlink("item:16846:0:0:0"); | GameTooltip:SetHyperlink("item:16846:0:0:0:0:0:0:0"); | ||
=== Result === | === Result === | ||
:this will replace the currently showing tooltip with one containing the information for the Giantstalker Helm | :this will replace the currently showing tooltip with one containing the information for the Giantstalker Helm | ||