• Advertisement
Sign in to follow this  

Fontstring Colors

This topic is 3388 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
Advertisement
Sign in to follow this  

  • Advertisement