Conditional Paths
We can take different paths in our conversations based on previously set variables. Here's what that looks like:
If this looks intimidating don't worry! This is the most complex concept you'll need to learn for your avatar. Let's break this down piece by piece:
- Our first box has an arrow pointing to a cylinder shape. This means that we want to choose our next path based on variables we've saved.
- Coming out of the cylinder are the possible paths the user will be sent down. Each of them has a condition.
- The conditions this time aren't setting variables, they are checking if the variable equals a certain value. If so it will automatically send the user to the next box.
Conditional paths are powerful but can lead to a lot of boxes to maintain! If you only need to say a few different words consider using conditional sentences instead.