cast and set target
hey all, first time poster, first time addon developer :eek:
I am going to buy Wow Programming but for now will ask the community for some help :D Basically what I'm looking to do is "intercept" a cast of a particular spell and then set the target for the spell. I will eventually have it so it will cast on mouseover if available, or cast to target, or cast to self any help would be greater appreciated |
i am at work so cant access my wow to test but I have done some ground work.
Am I on the right track here?? Code:
|
I am sure someone else can explain this a little better, but basically this is not possible the way you are trying to do it now. Addons are now allowed to cast spells, CastSpellByName is a protected function.
|
All times are GMT -6. The time now is 11:21 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI