Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-12-17, 12:33 PM   #1
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 156
Attach chat editbox to a frame other than DEFAULT_CHAT_FRAME

First, a little preamble.
Ever since the days of Lineage2, I'm used to less-than-important-but-still-useful messages to be redirected to a separate, always visible chat frame.
This is how it looks in today's WoW: https://prnt.sc/h9jg76
But here's the problem.
All addons send their output to DEFAULT_CHAT_FRAME naively assuming that it is the frame people watch the most.
There's a simple solution to output data to the desired frame, but when I do something like
Lua Code:
  1. if ChatFrame6Tab then DEFAULT_CHAT_FRAME = ChatFrame6 end
the editbox is also become attached to that frame.
Is there an easy way to move editbox to a more appropriate place?

Last edited by AnrDaemon : 11-12-17 at 12:35 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Attach chat editbox to a frame other than DEFAULT_CHAT_FRAME


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