View Single Post
02-27-09, 12:50 PM   #829
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 309
Originally Posted by Freebaser View Post
Haste answered that question on the same page with



and an example was given a few pages down

Code:
            self.Castbar.CustomTimeText = function(self, duration)
                if self.casting then
                    self.Time:SetFormattedText("%.1f", self.max - duration)
                elseif self.channeling then
                    self.Time:SetFormattedText("%.1f", duration)
                end
            end
Hm, somehow I missed it.. must've skimmed and scrolled too fast! Thanks!


Instead of double posting I'll just edit this post....

Does anyone know how to make all my units name stay uppercase? I used string.upper in the overridenameupdate function provided in neavs style and it does work for the most part. As I said over in the comments to his style all the names get converted to uppercase except for the tot. The tot goes from Name to NAME over and over. Suggestions?

Last edited by Tim : 02-27-09 at 02:41 PM.