neogia
12-15-2004, 03:24 PM
Ok, basically, I'm a warlock and I need a CC addon which will tell me info about what my party members are targetting.
My problem is, I need a function like AssistUnit("party1"); but instead of making you target their target, I just want a function that returns an object of type target... Example:
Roflcopter has no target, so the indicator is gray.
Roflcopter targets something changing the indicator to yellow.
I can do this using the UNIT_FOCUS flag, but I cannot for the life of me find a function that will give me the target without making the UI target it by default. Any help here?
My problem is, I need a function like AssistUnit("party1"); but instead of making you target their target, I just want a function that returns an object of type target... Example:
Roflcopter has no target, so the indicator is gray.
Roflcopter targets something changing the indicator to yellow.
I can do this using the UNIT_FOCUS flag, but I cannot for the life of me find a function that will give me the target without making the UI target it by default. Any help here?