Prevent Unfocusing NPC when response menu opens

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
sebjschindler
Posts: 16
Joined: Sun Nov 17, 2019 12:07 am

Prevent Unfocusing NPC when response menu opens

Post by sebjschindler »

Hello, so when using the On Focus() and On Unfocus() events everything behaves as expected. I wrote some custom code that tweens the color of the current speaker's portrait to white when focused, and everyone elses color to grey. The problem is, when the response menu pops up all actors are set to be unfocused. This creates a kind of weird effect where it looks like no one is speaking at that moment. It makes sense to me, but I would like to still have the Player's portrait set to white since they're the ones responding to the question. Is there any way I can do this? Thank you!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Prevent Unfocusing NPC when response menu opens

Post by Tony Li »

Hi,

The response menu panel has a field for PC Image. Can you assign a different image to this that's a duplicate of the player's subtitle portrait image? That should make it look like the "same" image is still focused.
Post Reply