Changing Actor display name mid-conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
marafrass
Posts: 35
Joined: Thu Jan 16, 2020 1:32 pm

Changing Actor display name mid-conversation

Post by marafrass »

Heya, just a quick question this time;

Is there a way to immediately change the display name of an actor in the middle of a conversation? I've tried changing both name and Display Name, ticking the "Use Display Name" box, but it seems like the dialogue manager only reflects the change if I start a new conversation with the same character again. I was hoping to be able to change it mid-conversation and immediately have the actor name update within the running conversation.
User avatar
Tony Li
Posts: 21634
Joined: Thu Jul 18, 2013 1:27 pm

Re: Changing Actor display name mid-conversation

Post by Tony Li »

Hi,

Use the ChangeActorName() Lua function. The Dialogue System Extras page has a Discover Name example (direct download) that demonstrates it.
Post Reply