Page 1 of 1

About the extra level look-ahead

Posted: Tue Dec 03, 2024 9:45 am
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 72 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.

Re: About the extra level look-ahead

Posted: Tue Dec 03, 2024 11:38 am
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.

Re: About the extra level look-ahead

Posted: Tue Dec 03, 2024 12:19 pm
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.

Re: About the extra level look-ahead

Posted: Tue Dec 03, 2024 11:47 pm
by Tony Li
I'll try to reproduce this and get back to you.