I know there is an example of Flowchart questionnaire in the example browser.
However, the questionnaire I want to make is not simply linear, it with the same questions in each branch. I don't want to add duplicate nodes for each option.
For example, making an order for a sandwich, Choose the type of bread to be added, whether to add cheese, whether to add pickles, and whether to add tomato slices and onion slices.
Although they all use the same nodes, But eventually they will go to a different node. Orwell maybe this example is not appropriate, it can be replaced with a personality test, or a zodiac sign test. Hope someone can understand what I mean.
How can I use the flowchart to keep track of which branch the player has chosen without hardcoding it (I don't want to add a variable for each option)?
Maybe I'm looking for an condition/expression that gets the output of the previous node of the current node current output?