Sign in to follow this  

Fontstring Colors

This topic is 3315 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am trying to figure out how to change the color on this fontstring. I am VERY new to LUA, and I tried searching but can not come up with an answer. Here is the chunk of code... local count = cooldown.count; if ( not count ) then count = cooldown:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall"); count:SetPoint("CENTER", cooldown); cooldown.count = count; ... I just want the text to be white. I saw some information on "Fontstring:SetColor" or something along those lines, but I don't know how to fit it into this chunk of code. This is for a WoW addon by the way, and from what I understand WoW only reads the full letter color code, not number color code.

Share this post


Link to post
Share on other sites

This topic is 3315 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this