→item: clarify difference between using items by bagslot and name. also explain that itemstrings work.
m (corrected ctrl-left-click typo to shift-left-click) |
(→item: clarify difference between using items by bagslot and name. also explain that itemstrings work.) |
||
| Line 118: | Line 118: | ||
|----- | |----- | ||
| item | | item | ||
| String specifying the item name. May be used instead of a bag/slot combo. Will not be used if "slot" is set. | | String specifying the item name or [[itemString]]. May be used instead of a bag/slot combo. Will not be used if "slot" is set. | ||
|----- | |----- | ||
| unit | | unit | ||
| Line 134: | Line 134: | ||
frame:SetAttribute("type1", "item") | frame:SetAttribute("type1", "item") | ||
frame:SetAttribute("item1", "Hearthstone") | frame:SetAttribute("item1", "Hearthstone") | ||
frame:SetAttribute("item1", "item:6948") -- same thing! | |||
Note that using items by bagslot will sell or bank them with the corresponding frames open. I.e. just as right-clicking items in bags does. Using items by name or itemstring on the other hand will never do that, just as placing them in an actionbar and clicking them that way won't. | |||
----- | ----- | ||
| Line 379: | Line 383: | ||
* Casts Flash Heal when left-clicked if your target is friendly | * Casts Flash Heal when left-clicked if your target is friendly | ||
* Casts Renew when right-clicked if your target is friendly | * Casts Renew when right-clicked if your target is friendly | ||
[[Category:Interface Customization]] | |||