Thread: Chat Code Help
View Single Post
08-16-19, 06:49 AM   #1
ChandlerJoseph
A Fallenroot Satyr
Join Date: Aug 2019
Posts: 20
Chat Code Help

For context all the elements of the chat should be hidden until your cursor is over top it, except the FontStringContainer.

So I have a few problems with my code. First, even though the tab text is set to "SetAlpha(0)" on load it is being overwritten somehow and appears on load.

Second, when I get a private message on a tab that isnt open I would like if the tab would appear but im not sure how I would do so.

Third, calling the "OnEnter()" and "OnLeave()" function I have created for "CombatLogQuickButtonFrameButton1" and "CombatLogQuickButtonFrameButton2" results in a lua error.
Here is the error if needed: https://pastebin.com/gkh1h35e

Also I couldnt figure out how to call my number table for "SetupHooks" so I had to put the individual frame number. Maybe there is a way to fix that.

Finally here is my code: https://pastebin.com/2TkPA1wJ

Hopefully everything is concise and easy to understand as well as not overwhelming for anyone willing to help! Thank you and have a wonderful day!
  Reply With Quote