Jump to content
  • Advertisement
Sign in to follow this  
Dularu

Fontstring Colors

This topic is 3600 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!