Change Actor Portrait and Name to the character who started conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Timeslip
Posts: 39
Joined: Fri Apr 05, 2019 6:31 am

Change Actor Portrait and Name to the character who started conversation

Post by Timeslip »

Hi Tony,

I hope all's well.

1) In some cases, I'd like to set the actor / name + portrait to the character who activated an object to start the conversation. At the minute, if the player character doesn't start the conversation, it seems to default to a particular actor who was defined.

2) In other cases, regardless of which character clicked on the object, I'd like to force the player character as the active actor, rather than a default actor as is being used at present.

Can you offer any tips on how to achieve this? Thank you.
Attachments
DialogueOutput.png
DialogueOutput.png (68.98 KiB) Viewed 536 times
DialogueDoor.png
DialogueDoor.png (80.97 KiB) Viewed 536 times
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Change Actor Portrait and Name to the character who started conversation

Post by Tony Li »

Hi,

Try assigning the character who activated the object to the Dialogue System Trigger's Conversation Actor component. This character's lines should correspond to the conversation's Actor. (In the Dialogue Editor, select Menu > Conversation Properties. Check the Actor dropdown.)

More info: Character GameObject Assignments
Timeslip
Posts: 39
Joined: Fri Apr 05, 2019 6:31 am

Re: Change Actor Portrait and Name to the character who started conversation

Post by Timeslip »

Appreciate the help. Understand how it works now. The Dialogue Actor object attached to the character was set to the wrong actor.
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Change Actor Portrait and Name to the character who started conversation

Post by Tony Li »

Happy to help!
Post Reply