Page 1 of 1

Does there need to be an actor/conversant with isPlayer set to true?

Posted: Fri May 20, 2022 11:20 pm
by BlooOwlBaba
Hi, I'm trying to figure out how to have a conversation between two non-player characters, but for any of the default templates doing so has both characters updating portraits from one subtitle panel.

I have 3 correctly selected subtitle panels, set "Default NPC Subtitle Panel" & "Default PC Subtitle Panel" to none. Apologies if this was already answered, I wasn't able to parse the forums for this exact issue.

Re: Does there need to be an actor/conversant with isPlayer set to true?

Posted: Sat May 21, 2022 12:31 am
by Tony Li
Hi,

Leave Default NPC Subtitle Panel and Default PC Subtitle Panel assigned.

Assign all 3 subtitle panels to the Subtitle Panels list, and make a note of their Element number (0, 1, 2). This is their panel number.

Then add a Dialogue Actor component to each NPC's GameObject. Set the Actor dropdown. Set Dialogue UI Settings > Subtitle Panel Number to the panel number you want the NPC to appear in.

You can also temporarily use a different subtitle panel for a single dialogue entry node by adding the markup tag [panel=#] to the dialogue text.

Re: Does there need to be an actor/conversant with isPlayer set to true?

Posted: Sat May 21, 2022 8:55 am
by BlooOwlBaba
Thank you. I wasn't sure where to place the Dialogue Actor component... much appreciated.

Re: Does there need to be an actor/conversant with isPlayer set to true?

Posted: Sat May 21, 2022 10:14 am
by Tony Li
Glad to help!