lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > General Authoring Discussion (L)

Reply
Thread Tools Display Modes
  #1  
Unread 06-04-2023, 12:40 AM
WildCard WildCard is offline
The Wary
Interface Author - Click to view interfaces
 
Join Date: Aug 2022
Posts: 3
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?

Reply With Quote
  #2  
Unread 06-04-2023, 12:26 PM
Thurallor's Avatar
Thurallor Thurallor is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: May 2013
Posts: 202
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.
Reply With Quote
  #3  
Unread 06-04-2023, 12:38 PM
WildCard WildCard is offline
The Wary
Interface Author - Click to view interfaces
 
Join Date: Aug 2022
Posts: 3
That's what I was afraid of. Oh well, it's not that big of a deal.
Reply With Quote
  #4  
Unread 06-04-2023, 09:56 PM
WildCard WildCard is offline
The Wary
Interface Author - Click to view interfaces
 
Join Date: Aug 2022
Posts: 3
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
Reply With Quote
Reply


Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Better font? Please? Elfiemyrtle Interface Requests (L) 2 11-28-2013 02:18 PM
Mixed fonts in a single label? Zelxyb Lua Programming Help (L) 6 11-25-2011 05:33 PM
Tab Control and Auto Sizing Label lunarwtr Tutorials & Other Helpful Information (L) 0 03-14-2011 08:26 PM
Hi Res Font? Sahugani Interface Requests (L) 2 02-16-2011 06:46 AM
chat font and .. Brode Interface Requests (L) 1 04-24-2007 03:09 PM


All times are GMT -5. The time now is 07:47 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui