Useful use cases of non-text dialogue node (for me at least)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Useful use cases of non-text dialogue node (for me at least)

Post by fkkcloud »

Hi,

I wanted to play some animations "only / no text" before Starting another conversation that uses a different Dialogue UI like SMS.

So I started the conversation with the default Dialogue with no texts but Sequence Commands only like below.
1.png
1.png (51.13 KiB) Viewed 291 times
2.png
2.png (58.53 KiB) Viewed 291 times

Since my default dialogue UI and SMS dialogue UI - both use Continue Button, Using the continue button setting is "Always" as default.
But for this specific conversation which is kinda like the pre animation stage to open SMS conversation, I made the continue button to be Never so it just runs through the node automatically.
3.png
3.png (63.33 KiB) Viewed 291 times
Since my dialogue scenes are mostly triggers "StartConversation" as the scene is loaded so I just wanted to make it all work within "Conversation"..

I don't know if its ideal way or let me know if you know a better suggestion on how should I do it.

Custom sequencer command that I have "ConversationToSMS(...)" closes the current conversation and Starts a new conversation with its given name.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Useful use cases of non-text dialogue node (for me at least)

Post by Tony Li »

Yes, that's fine.

You can also use SetDialoguePanel() to temporarily show or hide the current dialogue UI if you ever need to do that.
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Useful use cases of non-text dialogue node (for me at least)

Post by fkkcloud »

That sounds like a useful safer case
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Useful use cases of non-text dialogue node (for me at least)

Post by fkkcloud »

This is what I came up with - based on your suggestion.
Made an invisible canvasGroup.alpha 0 panel.
Using its dialogue text as a "description"
ANIMATION ONLY, SFX ONLY, CAMERA SHAKE ONLY, etc. Since this panel does not have Continue Button + my default display setting is ContinueButton 'Always" so calling "Continue()@delay" is a perfect solution for me! Thank you!
1231412.png
1231412.png (101.83 KiB) Viewed 276 times
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Useful use cases of non-text dialogue node (for me at least)

Post by Tony Li »

Great! I'm glad you found a good solution that works for you. Thanks for sharing your solution so other people can refer to it in the future in case they're looking for something similar.
Post Reply