There's some logic in place that I can't detect that keeps an avatar object disabled until a conversation starts.
Kinda fine, but I've got something of an elaborate setup.
Is there a way to make both the conversing subjects just stay activated upon enabling? Right now for instance the second person isn't active until he talks.
Set the subtitle panels' Visibility dropdowns to Always From Start.
Re: Two Dialogue Styles? What Do?
Posted: Thu Oct 03, 2024 7:51 am
by Littlenorwegians
Sadly, it is not working for me.
Something seems to disable these gameobjects or something.
Re: Two Dialogue Styles? What Do?
Posted: Thu Oct 03, 2024 8:42 am
by Tony Li
Hi,
Please try this:
On your dialogue UI's StandardDialogueUI component, tick Conversation UI Elements > Don't Deactivate Main Panel.
On the Dialogue Panel, remove the Canvas Group and Animator components, clear the UIPanel component's Show Animator Trigger and Hide Animation Trigger, and UNtick Deactivate On Hidden.
In your conversation, make sure Calico and Brindle are assigned as the conversation participants both in the conversation itself and the dialogue entries in the Dialogue Editor, and that their GameObjects are assigned to the Dialogue System Trigger's Conversation Actor and Conversation Conversant fields if the actors have corresponding GameObjects.
I wonder what the issue is. This is so close to being finished.
Re: Two Dialogue Styles? What Do?
Posted: Thu Oct 03, 2024 10:41 am
by Tony Li
It's probably the same thing on the subtitle panels. On both subtitle panels:
Remove the Canvas Group and Animator components
Clear the StandardUISubtitlePanel's Show Animation Trigger and Hide Animation Trigger fields
UNtick Deactivate On Hidden
Re: Two Dialogue Styles? What Do?
Posted: Thu Oct 03, 2024 11:55 am
by Littlenorwegians
There we go!! We're golden. It now works perfectly.
One small quasi-related thing. I can't get "delay" commands to work in my script. AnimatorPlay(Brindle_Smile, SpeakerPortrait);
Delay(2); SendMessage(EndPhoneCall, , PhoneSystem);
^ Like this piece of code is just meant to wait for 2 seconds after a smile animation is done, but currently not working. What am I doing wrong?
Re: Two Dialogue Styles? What Do?
Posted: Thu Oct 03, 2024 12:10 pm
by Tony Li
Hi,
All sequencer commands will attempt to run immediately unless you provide timing information. This means Delay(2) and SendMessage(EndPhoneCall, , PhoneSystem) will both attempt to run immediately, independently of each other.
The first command waits until the animation is done. Then it sends an arbitrary message "DoneWaving". The second command waits for the "DoneWaving" message.
There's also a built-in message "Typed" that happens when the typewriter effect is done. It's often used like this: