When the player has a menu, why does it show the NPC's portrait name?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

When the player has a menu, why does it show the NPC's portrait name?

Post by AoF »

Here's an image showing the problem:

Image

These are three choices the Player has to make, but it shows Eva in the portrait name instead of the Player. How do I get that to say Player instead of Eva? I've tried putting a node where the player is the actor between Eva's dialogue and the choices, given it a Sequence of None() or Continue(), but it still says Eva in the portrait name.

Here are my Dialogue System settings:

Image

Here's my log:

Image
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: When the player has a menu, why does it show the NPC's portrait name?

Post by Tony Li »

Assign the UI text element to the StandardUIMenuPanel's PC Name field.

Many games, such as most WRPGs, like to show the NPC name the whole time so the player remembers who they're talking to. If you set PC Name, it will switch the content to the player's name during menus.
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: When the player has a menu, why does it show the NPC's portrait name?

Post by AoF »

That fixed it, thanks!
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: When the player has a menu, why does it show the NPC's portrait name?

Post by Tony Li »

Glad to help!
Post Reply