Displaying different options by checking multiple node Conditions at once

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
LostTrainDude
Posts: 61
Joined: Wed Mar 21, 2018 2:14 pm

Displaying different options by checking multiple node Conditions at once

Post by LostTrainDude »

Hi,
Always craving for a tidier structure for my dialogue trees, I considered a similar structure:
Image

Is it possible to achieve something like this, where I can display multiple options by running a sequence of single Variable checks in such way (i.e. using a node just to perform Variable checks), rather than resorting to an all-Lua solution as in:

Code: Select all

Variable["A"] == false and (Variable["B"] == true)
?

I'm not sure if this can be solved in a similar fashion to my previous question about fallback nodes. If that's the case I apologize!

Thanks a lot in advance.
User avatar
Tony Li
Posts: 21061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Displaying different options by checking multiple node Conditions at once

Post by Tony Li »

Hi,

Tick the Group checkbox on those yellow nodes. Group nodes check their Conditions. If true, they immediately pass through to their child links.
LostTrainDude
Posts: 61
Joined: Wed Mar 21, 2018 2:14 pm

Re: Displaying different options by checking multiple node Conditions at once

Post by LostTrainDude »

Thank you, Tony!

This solved the issue!
User avatar
Tony Li
Posts: 21061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Displaying different options by checking multiple node Conditions at once

Post by Tony Li »

Happy to help!
Post Reply