View Single Post
10-17-10, 06:17 PM   #1
Elendhriel
A Deviate Faerie Dragon
Join Date: Jan 2010
Posts: 13
Shift + Click over Unitframe

I am trying to get a small script done where I can define a spell that is cast when over a Unit frame and using Shift Left Mouse Click. But I am stuck it doesn't work so far. Basically something I could do with Clique but I just need it for 2 Spells and would like a more lightweight solution for this. Basically the approach would be:

WorldFrame:HookScript("OnMouseDown", function(self, button)
if(button=="LeftButton" and IsShiftKeyDown() and UnitExists("mouseover")) then

Yeah here I am stuck tried several things .....

end
end)

Last edited by Elendhriel : 10-17-10 at 06:29 PM.
  Reply With Quote