How to animate panel with 2 player actors

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
bornafana
Posts: 3
Joined: Wed Dec 06, 2023 3:58 am

How to animate panel with 2 player actors

Post by bornafana »

Hello,
I want to have my visibility set as Until Superceded so that when the same actor is speaking, it doesn't reanimate the panel after every line. However, I have an additional player actor, because I want this character to also use my PC panel, not the NPC one.

So, if player 1 has 3 lines, it should animate the PC panel, the 3 lines should play out, and then I want the panel to hide, and then show again using player 2.
The problem is that it doesn't Hide/Show when switching from player 1 to player 2. It just blinks into player 2 when player 1 is done, as if it's the same actor. Which is understandable since I set the visibility to unitil superceded.

Quick note, I have my players in a separate scene that's being loaded on runtime. So my game, player and dialogue manager are in 3 separate scenes.

Thanks in advance. Any help would be appreciated :)
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to animate panel with 2 player actors

Post by Tony Li »

Hi,

Try changing the Visibility to "Until Superceded Or Actor Change", or even "Until Superceded Or Actor Change Or Menu" if you want to hide it when showing a player response menu. If your Visibility dropdown doesn't have "Until Superceded Or Actor Change", please back up your project, make sure the backup is good, and then update to the current DS version.
bornafana
Posts: 3
Joined: Wed Dec 06, 2023 3:58 am

Re: How to animate panel with 2 player actors

Post by bornafana »

Sorry for the late reply.

That is a great feature added. Thanks for the reply! :)
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to animate panel with 2 player actors

Post by Tony Li »

Glad to help! :-)
bornafana
Posts: 3
Joined: Wed Dec 06, 2023 3:58 am

Re: How to animate panel with 2 player actors

Post by bornafana »

I just realized, upon testing it properly, changing visibility to Until Superceded or Actor Change doesn't do anything. When going from one NPC to another, the dialogue just switches. There is no Hide -> Show.
Also, I don't have the option for Until Superceded Or Actor Change Or Menu. I definitely need this option, because when my response menu is up, the dialogue box is still showing behind it.
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to animate panel with 2 player actors

Post by Tony Li »

For the Hide/Show and the new Visibility option, I recommend updating to version 2.2.42, which should be available to download from the Asset Store later today.
Post Reply