[Solved] A "fallback" condition for responses
Posted: Mon Jun 03, 2024 5:27 pm
Hi Tony
Sometimes I'm working on responses which deal with several different outcomes. For example with two variables, A and B, it is easy enough check both variable states in the conditions for each response:
I was wondering if there is a way to set a condition equivalent to "Show this response if there are no other valid responses at this point in the conversation". This way I can set up a set of complex conditions for responses then, if none of them match for that player, they would see this other response.
This "fallback" condition would help me not have to worry about making sure the complex conditions always have a valid response.
This would be different from a response with no conditions at all, as I'd only want it displayed if none of the conditions for the other responses are matched rather than it being always displayed as an option.
Thank you
Tom
Sometimes I'm working on responses which deal with several different outcomes. For example with two variables, A and B, it is easy enough check both variable states in the conditions for each response:
- A == true AND B == false
- A == false AND B == true
- A == true OR B == true
- A == true AND B == true
- A == false AND B == false
- A == true AND B == false AND C = true
- A == false AND B == true AND D = false
- A == true OR B == true OR C = false
- A == true AND B == true AND D = true
- A == false AND B == false AND C = true
I was wondering if there is a way to set a condition equivalent to "Show this response if there are no other valid responses at this point in the conversation". This way I can set up a set of complex conditions for responses then, if none of them match for that player, they would see this other response.
This "fallback" condition would help me not have to worry about making sure the complex conditions always have a valid response.
This would be different from a response with no conditions at all, as I'd only want it displayed if none of the conditions for the other responses are matched rather than it being always displayed as an option.
Thank you
Tom