Thread Tools Display Modes
10-21-10, 08:29 PM   #1
jmyster
A Defias Bandit
Join Date: Oct 2010
Posts: 2
GetChatTextColor(index)?

is there something like GetChatTextColor(index)? I'm trying to read the r, g, b color of a specific Channels font color.
  Reply With Quote
10-22-10, 04:05 PM   #2
jmyster
A Defias Bandit
Join Date: Oct 2010
Posts: 2
I got it figured out. Thank you for looking at this. For anyone who needs this information, see below
Code:
-- where CHANNEL is SAY, PARTY, YELL, ...
-- if you want a custom global channel you need to use CHANNEL1, CHANNEL2, ... CHANNEL10
local channelInfo = ChatTypeInfo["CHANNEL"]
print(channelInfo.r, channelInfo.g, channelInfo.b)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » GetChatTextColor(index)?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off