Is there a way to not display PC subtitles when the dialogue text is empty? As far as I can tell, I can either disable them completely, jumping directly to the NPC's line when a response is selected, or it will display the menu text again.
I'd like to see the dialogue text in regular conversation, as it's more extensive than the menu text, but in some cases the response option is an action, and in those cases I'd like to skip the PC line and not have him repeat the menu text.
Is there a way to do this?
Skip PC Subtitle When Dialogue Text Empty
Re: Skip PC Subtitle When Dialogue Text Empty
Hi,
Set the empty dialogue entry's Sequence field to:
The Dialogue System still plays entries that have empty text because they may have a sequence that still needs to play. By putting "None()" in the Sequence field, you tell the Dialogue System that there is no sequence. If you're using continue buttons, instead of "None()" click the "+" button and select Continue > Simulate continue button click.
Set the empty dialogue entry's Sequence field to:
Code: Select all
None()
Re: Skip PC Subtitle When Dialogue Text Empty
I tried both, but it didn't work. I do have a continue button, as well as a typewriter effect if that makes a difference? (Though disabling it didn't change anything.)
Re: Skip PC Subtitle When Dialogue Text Empty
Here's an example scene:
SkipEmptyText_2016-12-12.unitypackage
Please note that it uses the new "Continue()" sequencer command introduced in patch 1.6.6.5_p20161124 available on the Pixel Crushers customer download site. If you don't already have access to the site, please PM me your Unity Asset Store invoice number.
If you don't want to install the patch, edit the example scene's dialogue database and change the "..." entry's Sequence field to:
(Your Dialogue Manager GameObject must be named "Dialogue Manager" in this case. This tacky limitation is one of the reasons why the Continue() sequencer command was added.)
SkipEmptyText_2016-12-12.unitypackage
Please note that it uses the new "Continue()" sequencer command introduced in patch 1.6.6.5_p20161124 available on the Pixel Crushers customer download site. If you don't already have access to the site, please PM me your Unity Asset Store invoice number.
If you don't want to install the patch, edit the example scene's dialogue database and change the "..." entry's Sequence field to:
Code: Select all
SendMessage(OnConversationContinue,,Dialogue Manager)
Re: Skip PC Subtitle When Dialogue Text Empty
Oh great, using that line solved the problem. Thank you!
Re: Skip PC Subtitle When Dialogue Text Empty
Glad to help!