Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-08-14, 03:27 AM   #1
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
Help with a table issue

Ok so, here's my good old nameplates addon

http://pastebin.com/ATJTK2VN

Now here's my threat oUF module

http://pastebin.com/ghNQfx5k

I don't want to use the default nameplates threat coloring instead, i want to use my own. So, i feed the plates in a global table (nameplates lines 307 and 328) and then use that table to color them (threat lines 132 to 141)

The issue i need help with:

Currently, when i enter combat with a group of mobs, all the plates light up showing the threat color of my target instead of their own threat in relation to me.

Does anyone know what i have to change to make it work on a plate per plate basis ? (so that each plate show their own threat) ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Help with a table issue


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