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.
|