Thread Tools Display Modes
04-13-10, 02:41 PM   #1
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
Exclamation kgpanels and aggro

i use kgpanels to make borders around my unit frames.
but i want to make it if im targeting something i have aggro on, it will change from black to red.
  Reply With Quote
04-13-10, 02:58 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
There are two ways you could do this.


1. You could check to see if you are your target's target
http://wowprogramming.com/docs/events/UNIT_TARGET
http://wowprogramming.com/docs/api/UnitIsUnit

2. You could use the threat API to get your threat status
http://wowprogramming.com/docs/event...TUATION_UPDATE
http://wowprogramming.com/docs/api/UnitThreatSituation
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » kgpanels and aggro


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