Image meant to be shown when character speaking is not working
-
- Posts: 82
- Joined: Wed Mar 31, 2021 6:48 pm
Image meant to be shown when character speaking is not working
During a conversation, the character that is meant to be talking to the other character isn't visible. The gameobject is off and the image hasn't been assigned. I set both of the default images in the "actors" section of the DB and can't figure out what's wrong.
Re: Image meant to be shown when character speaking is not working
Hi,
Do you mean the Portrait Image, like in this example?
If so, inspect the subtitle panel that the character will use. Set its Visibility dropdown to Always From Start:
Generally speaking, if the character is an NPC (Is Player is UNticked), it will use panel 0. If the character is a PC (Is Player is ticked), it will use panel 1. More info: Character GameObject Assignments
If you want a character to use a different panel, add a Dialogue Actor component to the GameObject that represents the character (the character in your scene, not the dialogue UI portrait). Set its Standard Dialogue UI Settings > Subtitle Panel Number.
Do you mean the Portrait Image, like in this example?
If so, inspect the subtitle panel that the character will use. Set its Visibility dropdown to Always From Start:
Generally speaking, if the character is an NPC (Is Player is UNticked), it will use panel 0. If the character is a PC (Is Player is ticked), it will use panel 1. More info: Character GameObject Assignments
If you want a character to use a different panel, add a Dialogue Actor component to the GameObject that represents the character (the character in your scene, not the dialogue UI portrait). Set its Standard Dialogue UI Settings > Subtitle Panel Number.
-
- Posts: 82
- Joined: Wed Mar 31, 2021 6:48 pm
Re: Image meant to be shown when character speaking is not working
Hey!
So I changed the panels for each character I then made sure both of these Panels are Visible from Start, but when the "Carton" talks, he becomes hidden.
So I changed the panels for each character I then made sure both of these Panels are Visible from Start, but when the "Carton" talks, he becomes hidden.
-
- Posts: 82
- Joined: Wed Mar 31, 2021 6:48 pm
Re: Image meant to be shown when character speaking is not working
Here's another pic showing how the canvas image just turns off when it's their turn to talk
Re: Image meant to be shown when character speaking is not working
Hi,
I see that there are some warnings in the Console about SetPortrait(). Would you please post those errors here?
Also, please check the subtitle panels' OnOpen(), OnClose(), and OnFocus() events. They may be related to this issue.
I see that there are some warnings in the Console about SetPortrait(). Would you please post those errors here?
Also, please check the subtitle panels' OnOpen(), OnClose(), and OnFocus() events. They may be related to this issue.
-
- Posts: 82
- Joined: Wed Mar 31, 2021 6:48 pm
Re: Image meant to be shown when character speaking is not working
Hey!
Here are the console errors,
I will check those event listeners now
Here are the console errors,
I will check those event listeners now
-
- Posts: 82
- Joined: Wed Mar 31, 2021 6:48 pm
Re: Image meant to be shown when character speaking is not working
*Update*
I just saw the error and got it working.
I don't know how I missed that haha. Thank you for your help
I just saw the error and got it working.
I don't know how I missed that haha. Thank you for your help
Re: Image meant to be shown when character speaking is not working
Happy to help. Glad you got it working!