Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-14-05, 06:58 PM   #1
Coskesh
A Deviate Faerie Dragon
Join Date: Jun 2005
Posts: 11
Best way to determine if party member is in range for a buff?

Been working on modifying an existing script to not only buff myself, but also my group members at the press of one button (one buff per keystroke of course).

I've gotten it to the point where it works, but gets hung up when party members are out of range. I haven't found a command that checks range of a spell by name, only by action id. Now I'm looking at either determing x,y coordinates and comparing them to mine or (if possible) to check for spell failure and/or 'out of range' message then to put a 5 min timer to skip that party member.

Is there a better method? Any suggestions would be appreciated.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Best way to determine if party member is in range for a buff?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off