Typo fixing, typos fixed: targetting → targeting using AWB
m (catfix) |
(Typo fixing, typos fixed: targetting → targeting using AWB) |
||
| Line 44: | Line 44: | ||
frame:SetAttribute("type1", "actionbar") -- Sets this frame's left click type to "actionbar" | frame:SetAttribute("type1", "actionbar") -- Sets this frame's left click type to "actionbar" | ||
frame:SetAttribute("action1", "increment") -- Causes this frame to increment the action bar index when left clicked | frame:SetAttribute("action1", "increment") -- Causes this frame to increment the action bar index when left clicked | ||
---- | |||
===action=== | ===action=== | ||
| Line 64: | Line 64: | ||
frame:SetAttribute("action1", 3) -- Causes this frame to use the action in your #3 action bar slot when left clicked | frame:SetAttribute("action1", 3) -- Causes this frame to use the action in your #3 action bar slot when left clicked | ||
frame:SetAttribute("shift-action1", 4) -- Causes this frame to use the action in your #4 action bar slot when shift-left clicked | frame:SetAttribute("shift-action1", 4) -- Causes this frame to use the action in your #4 action bar slot when shift-left clicked | ||
---- | |||
===pet=== | ===pet=== | ||
| Line 83: | Line 83: | ||
frame:SetAttribute("action1", 3) -- Causes this frame to use the action in your pet's #3 bar slot when left clicked | frame:SetAttribute("action1", 3) -- Causes this frame to use the action in your pet's #3 bar slot when left clicked | ||
frame:SetAttribute("shift-action1", 4) -- Causes this frame to use the action in your pet's #4 action bar slot when shift-left clicked | frame:SetAttribute("shift-action1", 4) -- Causes this frame to use the action in your pet's #4 action bar slot when shift-left clicked | ||
---- | |||
===spell=== | ===spell=== | ||
| Line 102: | Line 102: | ||
frame:SetAttribute("spell1", "Flash Heal") | frame:SetAttribute("spell1", "Flash Heal") | ||
frame:SetAttribute("shift-spell1", "Greater Heal") | frame:SetAttribute("shift-spell1", "Greater Heal") | ||
---- | |||
===item=== | ===item=== | ||
| Line 138: | Line 138: | ||
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. | 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. | ||
---- | |||
===macro=== | ===macro=== | ||
| Line 159: | Line 159: | ||
frame:SetAttribute("type1", "macro") | frame:SetAttribute("type1", "macro") | ||
frame:SetAttribute("macrotext", "/party I am | frame:SetAttribute("macrotext", "/party I am targeting %t") | ||
---- | |||
===stop=== | ===stop=== | ||
| Line 175: | Line 175: | ||
frame:SetAttribute("type", "stop") | frame:SetAttribute("type", "stop") | ||
---- | |||
===target=== | ===target=== | ||
| Line 194: | Line 194: | ||
|} | |} | ||
frame:SetAttribute("type", "target") | frame:SetAttribute("type", "target") | ||
---- | |||
===target-item=== | ===target-item=== | ||
| Line 202: | Line 202: | ||
'''Attributes:''' | '''Attributes:''' | ||
frame:SetAttribute("target-item", "itemName" or "[[itemString]]" or "[[itemLink]]") -- possibly itemid? not tested | frame:SetAttribute("target-item", "itemName" or "[[itemString]]" or "[[itemLink]]") -- possibly itemid? not tested | ||
---- | |||
===focus=== | ===focus=== | ||
| Line 217: | Line 217: | ||
Clicking this frame will set your focus to this frame's specified ''unit''. | Clicking this frame will set your focus to this frame's specified ''unit''. | ||
frame:SetAttribute("type", "focus") | frame:SetAttribute("type", "focus") | ||
---- | |||
===assist=== | ===assist=== | ||
| Line 232: | Line 232: | ||
Clicking this frame will cause you to target and start attacking the target of this button's unit. | Clicking this frame will cause you to target and start attacking the target of this button's unit. | ||
frame:SetAttribute("type", "assist") | frame:SetAttribute("type", "assist") | ||
---- | |||
===click=== | ===click=== | ||
| Line 248: | Line 248: | ||
frame:SetAttribute("type", "click") | frame:SetAttribute("type", "click") | ||
frame:SetAttribute("clickbutton", myOtherButton) | frame:SetAttribute("clickbutton", myOtherButton) | ||
---- | |||
===attribute=== | ===attribute=== | ||
Sets attribute for arbitrary frame. | Sets attribute for arbitrary frame. | ||
| Line 271: | Line 271: | ||
frame:SetAttribute("attribute-name","unit") | frame:SetAttribute("attribute-name","unit") | ||
frame:SetAttribute("attribute-value","focus") | frame:SetAttribute("attribute-value","focus") | ||
---- | |||
===menu=== | ===menu=== | ||