About the extra level look-ahead

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
_marc
Posts: 73
Joined: Mon Nov 05, 2018 5:44 am

About the extra level look-ahead

Post by _marc »

Hi Tony,

Hope you're fine!

In a previous post (https://www.pixelcrushers.com/phpbb/vie ... 4&start=10), you mentioned:
I'm also looking into providing a checkbox to disable the extra level look-ahead on Conditions. The catch is that it won't work with some continue button modes that need to know what's ahead two levels. But if that's not an issue, then it makes for a clean solution since evaluation will happen exactly like it's written in articy.
I have some questions about that... To remind you of the context, I write my dialogues in articy, using the "Linear mode" of the Dialogue System, and importing all conditions and instructions as groups. It works quite well, but there is still this simple case that makes me mess up from time to time:
articy_script.png
articy_script.png (49.57 KiB) Viewed 70 times
The instruction of the third node is executed between the 2 dialogue nodes, because of the extra level look-ahead thing.

My question is, would it be possible to easily disable this feature (making the look-ahead just after the OnConversationLine message of the 2nd dialogue node, by example)? What would be the consequences on the continue buttons, then?

My use of Continue buttons is limited to calling manually their function OnContinue(). The setting Continue Button in the Dialogue System Controller is set to "Never", and I don't use them in the UI.
User avatar
Tony Li
Posts: 22200
Joined: Thu Jul 18, 2013 1:27 pm

Re: About the extra level look-ahead

Post by Tony Li »

Hi Marc,

The checkbox is on the Dialogue Manager in the Other Settings section. If you tick Reevaluate Links After Subtitle, you will no longer need to worry about the extra level look-ahead. I think that should take care of the instruction concern.
_marc
Posts: 73
Joined: Mon Nov 05, 2018 5:44 am

Re: About the extra level look-ahead

Post by _marc »

Even with the Reevaluate option ticked, if I Iook at the Dialogue System debug info, it looks like the 3rd group node (and its instruction) is still evaluated before the 2nd dialogue node is spoken.
User avatar
Tony Li
Posts: 22200
Joined: Thu Jul 18, 2013 1:27 pm

Re: About the extra level look-ahead

Post by Tony Li »

I'll try to reproduce this and get back to you.
Post Reply