View Single Post
08-18-13, 01:38 AM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I'm guessing it's because there are so many ancient tutorials floating around from the early days that nobody has ever bothered to update, and the people reading them don't notice that the article was written before the release of TBC.

Anyway:

It would have been helpful for you to mention that you were working with ElvUI from the beginning. My post was written assuming you were working with the Blizzard raid frames, since your post only talked about those. As I have never used ElvUI or looked at its code, and have no interest in doing so, there's a lot less help I can offer on that front.

However, if you post your entire, actual code (seriously, why does nobody do this, even when explicitly asked to show their code???) instead of just some random snippets and vague descriptions of the code, I can probably solve your problem anyway... right now it looks like you're using a hardcoded list of units in a hardcoded order instead of actually looking at which units are being displayed on the frame.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote