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!
Tag for old responses-question
Tag for old responses-question
- Attachments
-
- GrayText.jpg (75.85 KiB) Viewed 294 times
Re: Tag for old responses-question
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.
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.