Page 2 of 2

Re: Marking Dialogue Nodes as visited

Posted: Sun Jun 18, 2023 9:20 am
by Tony Li
Yes. You can set it in the Dialogue Editor's Database section, under Emphasis Settings.

Re: Marking Dialogue Nodes as visited

Posted: Sun Jun 18, 2023 7:30 pm
by Itilos
Awesome! That works well.

Is there a way to get the Autonumbers to have the same emphasis? It looks like the numbers themselves will still be the original color (of an un-visited node).

Re: Marking Dialogue Nodes as visited

Posted: Sun Jun 18, 2023 8:12 pm
by Tony Li
Hi,

The [em#] tag for old responses gets applied first. Then the autonumber is prepended if the feature is enabled, which means it gets prepended outside of the [em#] tag.

If you want to change that behavior, you could make a subclass of StandardUIMenuPanel. Override the SetResponseButton() method to call base.SetResponseButton() and then extract the first "<color=...>" tag from the button.text and move it to the very beginning of button.text.

Then use your subclass in place of the original StandardUIMenuPanel in your dialogue UI. (See here.)

If you have questions about making the subclass, let me know.

Re: Marking Dialogue Nodes as visited

Posted: Sun Jun 18, 2023 10:31 pm
by Itilos
That worked! Thanks - appreciate the help!

Re: Marking Dialogue Nodes as visited

Posted: Mon Jun 19, 2023 7:58 am
by Tony Li
Glad to help!