Page 1 of 1

Portrait name displaying "Player" instead of the actors name for a second on start

Posted: Tue Aug 29, 2023 6:31 pm
by WinteryJungle9
Hi,

When I start the dialogue through code with:

Code: Select all

DialogueManager.StartConversation(title);
The portrait name displays "Player" for a split-second before updating and displaying the name of the actor who is supposed to be speaking. This only happens the first time a conversation is started in a scene. This does not happen if I used the dialogue system trigger but I need to be able to start the conversation through code.

Thanks.

Re: Portrait name displaying "Player" instead of the actors name for a second on start

Posted: Tue Aug 29, 2023 8:12 pm
by Tony Li
Hi,

A common reason for this is if the subtitle panel's Visibility is set to Always From Start and if there's a mismatch of actors in the conversation.

Check which actors are assigned as the conversation's actor and conversant. To do this, inspect the conversation in the Dialogue Actor and select Menu > Conversation Properties. You'll typically set the Actor dropdown to the Player actor and the Conversant dropdown to an NPC, but you can set both to NPCs if it's an NPC-NPC conversation.

Re: Portrait name displaying "Player" instead of the actors name for a second on start

Posted: Wed Aug 30, 2023 4:12 am
by WinteryJungle9
Changing the subtitle panel's visibility from 'Always From Start' to 'Always Once Shown' fixed it.

Thanks very much Tony!

Re: Portrait name displaying "Player" instead of the actors name for a second on start

Posted: Wed Aug 30, 2023 11:17 am
by Tony Li
Glad to help!