View Single Post
Unread 03-09-11, 05:38 PM   #6
A Molten Giant
Lily.Petal's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2010
Posts: 537
Originally Posted by Nibelheim View Post
Come to think of it, are you wanting to see the threat of party members on your target, or just whether or not they have agro?

If it's the latter, just remove the second argument from the UnitThreatSituation line. So like this:

local status = UnitThreatSituation(unit)
Works great, only one problem now, it changes my border after combat to white, instead of back to black ><

1st : Before combat and script change
2nd : In combat after script change
3rd : After combat with script
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	710
Size:	98.4 KB
ID:	5835  Click image for larger version

Name:	Untitled2.png
Views:	670
Size:	65.7 KB
ID:	5836  Click image for larger version

Name:	Untitled3.png
Views:	637
Size:	26.1 KB
ID:	5837  

Last edited by Lily.Petal : 03-09-11 at 05:57 PM.
Lily.Petal is offline   Reply With Quote