Texts with em tag disappear

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
thehazard
Posts: 27
Joined: Sun Jul 23, 2017 9:56 am

Texts with em tag disappear

Post by thehazard »

Hi,

I'm trying to get the "em tag for invalid responses" to work for my conversations. However, whenever an em tag is wrapped around my text, the whole text disappear from view. I'm not sure why this is happening, but even when I manually add an Em tag to one of my subtitles, the text doesn't show up at all. I checked the Show Invalid Responses Example, and that worked just fine. What settings did I miss?
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Texts with em tag disappear

Post by nathanj »

I'm just guessing here but did you select Rich Text Emphasis from the Subtitle settings of the Dialogue System Controller component, from the Dialogue Manager object?

Image
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Texts with em tag disappear

Post by Tony Li »

Also check the Emphasis Settings on the Dialogue Editor's Database tab. It may be that the colors' alpha values are 0 (transparent). If so, change it to 255 (opaque).
thehazard
Posts: 27
Joined: Sun Jul 23, 2017 9:56 am

Re: Texts with em tag disappear

Post by thehazard »

Works perfectly now. Thank you Tony!
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Texts with em tag disappear

Post by Tony Li »

Glad to help!
Post Reply