Page 1 of 1

I want to add multiple NPCs to the SMS UI

Posted: Thu May 18, 2023 3:11 am
by swang
I want to create multiple actors and designate the location of each bubble.
I'd like to set character A to only create speech bubbles on the left side, and character B to create speech bubbles only on the right side.

![image](https://github.com/kaYeonTan/Sort/asset ... 1e7202fee0)

I set all the values, but they are output to one panel without being divided and played.

![image](https://github.com/kaYeonTan/Sort/asset ... 88c764b9db)

Re: I want to add multiple NPCs to the SMS UI

Posted: Thu May 18, 2023 4:40 am
by swang
![image](https://github.com/kaYeonTan/Sort/asset ... 88c764b9db)

I set all the values, but they are output to one panel without being divided and played.

Re: I want to add multiple NPCs to the SMS UI

Posted: Thu May 18, 2023 8:00 am
by Tony Li
Hi,

NPC Message Template_R is element number 2 in your Standard Dialogue UI > Conversation UI Elements > Subtitle Panels list. This is its panel number.

To tell a specific NPC to use NPC Message Template_R, add a Dialogue Actor component to that NPC's GameObject. (If the NPC doesn't have a GameObject, you can create an empty GameObject for it.) Set Dialogue UI Settings > Subtitle Panel number to 2.

Re: I want to add multiple NPCs to the SMS UI

Posted: Fri May 19, 2023 1:44 am
by swang
thank you Tony Li You are my lifesaver.🥺🥺

Re: I want to add multiple NPCs to the SMS UI

Posted: Fri May 19, 2023 6:30 am
by Tony Li
Glad to help!