Rokdar
03-02-2007, 03:22 AM
Greetings,
I would like to make a simple mod that on a keystroke will check for range and use an ability if its in range, otherwise use a different ranged ability. So the keystroke checks a condition and then fires one ability or a different ability based on the condition
Well the logic part is easy enough to handle with isActionInRange(slot,[unit]), however assuming the action is or isn't in range...how can I actually fire off the ability? I know we can't use ActionButtonDown(id) but there has to be a way to cast a spell/skill...there are mods out there that already do it (healer mods, decursive)
Thanks for any ideas
I would like to make a simple mod that on a keystroke will check for range and use an ability if its in range, otherwise use a different ranged ability. So the keystroke checks a condition and then fires one ability or a different ability based on the condition
Well the logic part is easy enough to handle with isActionInRange(slot,[unit]), however assuming the action is or isn't in range...how can I actually fire off the ability? I know we can't use ActionButtonDown(id) but there has to be a way to cast a spell/skill...there are mods out there that already do it (healer mods, decursive)
Thanks for any ideas