Is there a way to set the text to italic for some text nodes

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
pschroed
Posts: 20
Joined: Sun Mar 05, 2023 12:15 pm

Is there a way to set the text to italic for some text nodes

Post by pschroed »

Hi,

I want to represent/differentiate the thoughts of my characters compared to direct speech by making the text italic.

is there an easy way to set the text for some text nodes to italic?

I mean I know that I can change the text of the whole panel in the TMP-object but I only want to change it for some nodes.

Or do I have to make an extra panel and actor for italic 'thoughts'?

Thanks
User avatar
Tony Li
Posts: 22131
Joined: Thu Jul 18, 2013 1:27 pm

Re: Is there a way to set the text to italic for some text nodes

Post by Tony Li »

Hi,

You can use <i> rich text codes, such as:
  • Dialogue Text: "<i>Hmm, did I leave the oven on?</i>"
Or you can use [em#] markup tags, such as:
  • Dialogue Text: "[em2]Hmm, did I leave the oven on?[/em2]"
Post Reply