View Single Post
08-20-14, 06:52 AM   #52
Kygo
A Theradrim Guardian
 
Kygo's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 64
Originally Posted by Phanx View Post
You'd get them from UnitAura. Assuming you wanted to show that info on the bars, you'd want to create the font strings in the PostCreateIcon function, ..
Added.
Did react to something (maybe it's supposed to happen?) when i wrote this
(Using Notepad++ with language set to LUA)
Code:
local time = bar:CreateFontString..
time:SetPoint..
time:SetTextcolor..
bar.time = time
Originally Posted by Phanx View Post
Then in the PostUpdateAura function, use the values you're already getting from UnitAura. Set the name font string to display the name in the same place.
Are you refering to "local function auras_PostUpdateIcon.."? If you're not, then I have missed that one.

Originally Posted by Phanx View Post
..use SetFormattedText ..
Alright. So something like this: "time:SetFormattedText(m:s)" ? (Havent gotten this far yet, still trying to figure half of this out )
  Reply With Quote