OnMouseUp and mouseover
I last created Mods back before Cataclysm. It's been a long time. Just now getting back into it. I'm just trying to write a very basic mod that cancels attacking with the right mouse button.
Code:
WorldFrame:HookScript("OnMouseUp", function(self, button) Also, if I swap out and hook-into `OnMouseDown` it also works, but then I can't actually interrupt the attack. Any insight on why it's not working or how to fix it would be appreciated... Also if there is just a better way to do things I'm all ears. |
All times are GMT -6. The time now is 11:10 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI