Page 1 of 1

Change Player Actor And Conversant Portrait In Same Dialogue Node

Posted: Wed Feb 28, 2024 3:35 pm
by Graggunner
Hello!

I apologize if this has been answered elsewhere or is in the documentation. I could not find an answer myself, so I would very much appreciate help!

I would like to change the portrait of both the Player Character and the Conversant in the same dialogue node. Is there a way to do this?

I am using Playmaker to drive all gameplay, so I could set up essentially a portrait controller and send events, but the [pic=X] syntax is so streamlined I hope there's a way to do it.

I am on Unity 2020.3.25f if that is helpful information.

Thank you so much!

Best,

Greg

Re: Change Player Actor And Conversant Portrait In Same Dialogue Node

Posted: Wed Feb 28, 2024 4:24 pm
by Tony Li
Hi,

I have an update for that:

DS_piccPatch_2024-02-28.unitypackage

It enables the [picc=#] markup tag, which specify the portrait image for the conversant (i.e., listener) of the dialogue entry.

To change an actor's portrait for the rest of the conversation, use the SetPortrait() sequencer command instead.

Re: Change Player Actor And Conversant Portrait In Same Dialogue Node

Posted: Wed Feb 28, 2024 5:43 pm
by Graggunner
Hi there! Thank you so much for the response.

Will this be compatible with my version of Unity?

Re: Change Player Actor And Conversant Portrait In Same Dialogue Node

Posted: Wed Feb 28, 2024 6:57 pm
by Tony Li
Hi,

It should be fine. But back up your project first, just to be safe. In the worst case you can just reimport your version of Unity if there's an issue.