Page 1 of 1

How to animate panel with 2 player actors

Posted: Wed Dec 06, 2023 4:08 am
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 :)

Re: How to animate panel with 2 player actors

Posted: Wed Dec 06, 2023 9:22 am
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.

Re: How to animate panel with 2 player actors

Posted: Tue Dec 19, 2023 2:34 am
by bornafana
Sorry for the late reply.

That is a great feature added. Thanks for the reply! :)

Re: How to animate panel with 2 player actors

Posted: Tue Dec 19, 2023 7:53 am
by Tony Li
Glad to help! :-)

Re: How to animate panel with 2 player actors

Posted: Thu Dec 21, 2023 1:35 am
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.

Re: How to animate panel with 2 player actors

Posted: Thu Dec 21, 2023 8:19 am
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.