Thread Tools Display Modes
12-31-13, 12:34 AM   #1
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
3 days...

For the past 3 days, I've been trying to sort this:
Party frames. They work fine, in fact - they *had* text on them too. 'Had' is the keyword here.

Because I wanted a different position, size etc to the name and hp, I decided to move the entire Name Tag and HP Tag into the UnitSpecific section. Can't get the darn text to show up.

Entire thing : https://github.com/moonwitch/oUF_Ynarah/tree/MoP
The offending file : https://github.com/moonwitch/oUF_Yna...MoP/layout.lua

Now, I am ABSOLUTELY certain I am doing something wrong, but I've tried :
  • Moving the tags into Shared again; but no dice when i added
    Lua Code:
    1. if (unit == 'party') then
  • Tried "stealing" the tags from oUF_Lily - seeing as the exact same Tag as I use works on ToT, Focus and FoT. Unlikely.
  • Tried checking the spawn function, but seeing as the frames *do* show in parties....
  • Tried with xml template
It seems to be "unit less", but it's not. Framestack helped me figure out that the header is called oUF_YnarahParty (as it should) and the actual units oUF_YnarahPartyUnitButton1

The only thing I can think of is that a UnitButton can't hold the string I've created. But - why won't it then work with the default self.Name from oUF itself? Obviously the party frames *have* a unit, since they have a tooltip with the unit info.
__________________
  Reply With Quote
12-31-13, 12:37 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
This is the problem I've posted both an explanation of and solution to -- THREE TIMES -- in your other thread, that everyone keeps ignoring.
__________________
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
12-31-13, 12:42 AM   #3
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
Originally Posted by Phanx View Post
This is the problem I've posted both an explanation of and solution to -- THREE TIMES -- in your other thread, that everyone keeps ignoring.
I KNOW! I just saw it So don't get mad at me please... (It is 7.40AM, been at this for like 10 hrs straight)

Tried but alas, I get a "bad argument #2" on your strmatch.

However, if I don't name the party setup, and remove showRaid, I get a name :P

https://github.com/haste/oUF/blob/ma....lua#L447-L473 (so I used this).

edit:
Dug into your layout, thanks to http://www.wowinterface.com/forums/s...t.php?p=288747
-- turn "boss2" into "boss" for example
unit = gsub(unit, "%d", "")
__________________
  Reply With Quote
12-31-13, 12:56 AM   #4
MoonWitch
A Firelord
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 455
Thus; solved - more or less.

Thanks
__________________
  Reply With Quote
12-31-13, 06:22 AM   #5
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
See here if you want to keep showRaid.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » 3 days...


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