Page 1 of 1

Tag for old responses-question

Posted: Fri Mar 28, 2025 6:26 am
by Oskar
Hi!

I've got a question about the function that colors displayed dialogue options with an emphasis color.

So, we'd like to keep the '[em#] tag for old responses' ticked in the dialogue manager, but would also like to have an option to keep some dialogue options from getting the em tag , even if they've been selected before.

Any ideas on how to achieve this? Thank you!

Re: Tag for old responses-question

Posted: Fri Mar 28, 2025 9:11 am
by Tony Li
Hi,

The [em#]...[/em#] wrapping is built into the conversation model. You'll have to use an OnConversationLine(Subtitle) method in a custom script on your Dialogue Manager to remove them conditionally. For example, you could add a custom Boolean field to your dialogue entry template and check this in OnConversationLine. If it's true, remove [em#]...[/em#] from the ends of subtitle.formattedText.text.