Page 1 of 1
emphasis settings
Posted: Sat Apr 20, 2024 12:19 pm
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?
Re: emphasis settings
Posted: Sat Apr 20, 2024 3:56 pm
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
Re: emphasis settings
Posted: Fri Apr 26, 2024 4:32 pm
by Arturicon
Thank you!
Re: emphasis settings
Posted: Fri Apr 26, 2024 6:57 pm
by Tony Li
Glad to help!