PDA

View Full Version : Font options for the chat window using ChatMessage?



Three of Swords
May 18th, 2020, 21:39
When using the ChatMessage functions in an extension, is there a list of the available font options like emotefont?

I'm writing my first extension, and it's complete except I can't figure out what 'font' to use.

I want some text to look the same as when the party takes a rest from the combat tracker. Do I have to custom code that, or is it an option? I can't find a list to figure it out.

Edit: 5e ruleset if that matters.

Trenloe
May 18th, 2020, 22:29
Stuff you can configure in a message are detailed here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/4096265/Comm

As that mentions, the font is the standard chat font unless you specify a font, using the name of the font resource: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGU/pages/4162481/font You can use any font defined in the ruleset - usually in graphics\graphics_fonts.xml in the ruleset (and also in CoreRPG if it's a layered ruleset).