Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SergiM27
Posts: 4
Joined: Tue Jul 27, 2021 9:52 pm

Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by SergiM27 »

Hi, I'm making an Otome (Visual novel).
I have 3 actors. Player, Narrator, and a girl. I have a moment of a conversation where suddenly this new girl appears, and says hi to the player. Then, the narrator says something about her to the player, so the actor is the narrator, and the conversant the player. But, while on this, i need the girl to still be visible while the narrator is presenting her. Right now, that doesn't happen, she becomes invisible since she isn't the actor. How can I have her still visible (enabled) even when she isn't nor the actor nor the conversant?
I don't know if this question has been already asked, can't seem to find it.
Thanks,
Sergi
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by Tony Li »

Hi,

Is there only one girl? Or is there a girl and a new girl?

Assuming there's only one girl, try setting it up like this:

1. Use the VN Template Standard Dialogue UI.

2. In the Dialogue Editor, set the conversation's actor to be the Player. Set the Narrator to be the conversation's conversant. Include the girl in the conversation.

3. Add a Dialogue Actor component to the girl's GameObject. If the girl doesn't have a GameObject, create an empty GameObject and add a Dialogue Actor component. Select the girl's Actor. Set Dialogue UI Settings > Subtitle Panel Number to 2.

In the VN Template Standard Dialogue UI, panel 2's Visibility is set to Always Once Shown. This means it will stay visible after the first time the girl says something.
SergiM27
Posts: 4
Joined: Tue Jul 27, 2021 9:52 pm

Re: Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by SergiM27 »

Hi Toni,
Thanks for the fast answer.
By including the girl in the conversation, you mean i need her to be the actor at least 1 time for her to show up? I want to present her with the narrator, with her being visible, but she doesn't talk until a bit later.
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by Tony Li »

Hi,

The easiest way to do that is to add a node for her right before the Narrator's node. Set the Dialogue Text to a single blank space, and set the Sequence to Delay(0.1).
SergiM27
Posts: 4
Joined: Tue Jul 27, 2021 9:52 pm

Re: Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by SergiM27 »

Nice. Now she appears and mantains for the rest of the conversation. Now i need the "blank" i made for her with 0.1 delay to skip automatically. Since I use a Continue Button, it stays blank until the player presses the button. How can I achieve only skipping that precise node?
Thanks,
Sergi
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by Tony Li »

Hi,

Change "Delay(0.1)" to "Continue()@0.1"
SergiM27
Posts: 4
Joined: Tue Jul 27, 2021 9:52 pm

Re: Mantain a subtitle panel visible, with an sprite of a character on, even though that character isn't talking.

Post by SergiM27 »

Alright, thanks, appreciate it!
Sergi
Post Reply