emphasis settings

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Arturicon
Posts: 12
Joined: Mon Mar 11, 2024 2:52 pm

emphasis settings

Post by Arturicon »

Can i adjust visual of dialogue entries by emphasis settings more then just change text's color or make it bold. I mean completely change view of Invalid entries for example?
User avatar
Tony Li
Posts: 20677
Joined: Thu Jul 18, 2013 1:27 pm

Re: emphasis settings

Post by Tony Li »

Hi,

Yes, you can do anything you want.

If you don't want to do any scripting, you're restricted to using [em#] tags and their values (color, underline, bold, and/or italics).

If you want to do a bit of scripting, make a subclass of StandardUIMenuPanel and override the SetResponseButton() method. If the response's enabled property is false, it's an invalid entry and you can show it however you want.

See also: How To: Replace Script with Subclass and Keep Field Assignments
Arturicon
Posts: 12
Joined: Mon Mar 11, 2024 2:52 pm

Re: emphasis settings

Post by Arturicon »

Thank you!
User avatar
Tony Li
Posts: 20677
Joined: Thu Jul 18, 2013 1:27 pm

Re: emphasis settings

Post by Tony Li »

Glad to help!
Post Reply