LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   General Authoring Discussion (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=22)
-   -   SetMarkupEnabled and Label Font (https://www.lotrointerface.com/forums/showthread.php?t=4021)

WildCard 06-04-2023 12:40 AM

SetMarkupEnabled and Label Font
 
So I'm working on a plugin to make custom chat windows. There are two labels with SetMarkupEnabled(true).

Code:

--Not altering incoming message, only adding color
AppendText("<rgb=" .. channelChatColor .. ">" .. msg .. "</rgb>")

--Removing custom tags (character names, item links, etc)
msg = msg:gsub("%b<>", "");
AppendText("<rgb=" .. channelChatColor .. ">" .. msg .. "</rgb>")

But there seems to be no way to specify the font when LOTRO generates the clickable elements from the custom tags.

Has anyone else encountered this?
Am I just missing something?


Thurallor 06-04-2023 12:26 PM

Yep, I recall encountering this bug, although it's been several years since I played with it. The only way around it would be to create your own replacement for the TextBox control, which is probably a much bigger project than you intended to undertake.

WildCard 06-04-2023 12:38 PM

That's what I was afraid of. Oh well, it's not that big of a deal.

WildCard 06-04-2023 09:56 PM

Apparently, you also cannot see who sent a tell via Turbine.Chat Received message.

You get the ChatType of 6 and the message, but nothing to indicate who the tell came from, lol.

Posting this here just for the record, in case SSG ever looks at this stuff :p


All times are GMT -5. The time now is 06:13 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI