Quantcast
WoWInterface - View Single Post - XML custom coloring
View Single Post
11-25-10, 04:47 AM   #2
Xubera
A Cobalt Mageweaver
 
Xubera's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 207
change the

chat:SetVertexColor()

to

chat:SetBackdropColor()

edit::

For the onload, just wrap your .lua bit in a function like

Code:
function chat_OnLoad()
  --lua stuff goes here
end
and in your XML, add <Scripts> tag

Code:
<Frame name="chat">
  ...
  <Scripts>
    <OnLoad function="chat_OnLoad" />
  </Scripts>
  ...
</Frame>
and make sure your .toc loads the XML before the lua
__________________
Chat Consolidate is the solution to any out of control trade chat. Ignore lines, throttle chat, consolidate posts!Follow the link to find out how!

▲ ▲ WoWInterface wont let me triforce >.>

Last edited by Xubera : 11-25-10 at 04:49 AM.
  Reply With Quote