[HOWTO] How To: Use Group Nodes To Reduce Condition Checking Time

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Tony Li
Posts: 20642
Joined: Thu Jul 18, 2013 1:27 pm

[HOWTO] How To: Use Group Nodes To Reduce Condition Checking Time

Post by Tony Li »

If your conversation's <START> node links to a lot of nodes with conditions, you may find it helpful to use group nodes. To turn a node into a group node, tick its Group checkbox.

When the conversation below starts, it evaluates 4 compound conditions:

groupNodes1.png
groupNodes1.png (8.87 KiB) Viewed 733 times

To reduce the amount of conditions that need to be evaluated, you can use groups like this:

groupNodes2.png
groupNodes2.png (12.88 KiB) Viewed 733 times

If A is true and D is false, then the right tree (E & F) won't need to be evaluated.
Post Reply