Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: wheretheidivides on December 27, 2014, 04:21:47 PM
-
I'd like a action where you can set the number of bools to test (like 5) and a list pops up. You then tell it which variable and if on or off. If all 5 are correct (wheather true or false), then a transition is implemented, if not then another transition.
So bool 1-true, bool 2-true, bool3-false, bool 4-true, bool 5-false
So it has to be TTFTF to give a 'correct'. if any are not correct, then it give a 'not correct'. this way, each bool does not have to be true to work. You can set them to look for true or false for each bool.
-
Interesting scenario. I came across this once and just ended up inverting the value of the bools I wanted to conditionally use as false, then gate the pass event with Bool All True.
Alternatively, you could check the false conditions in a second state.
-
"Alternatively, you could check the false conditions in a second state".
or a series of checks in different states 1 at a time. The point is to have 1 action doing something like this.
-
I agree that this would be extremely useful. A while back I had a situation where each possible combination of 4 bools needed a different result. It turned out much more complicated than I feel it should have been.
-
but in this condition i will use conditional operator
-
Yes, you can use Conditional Expression for this but it is not ideal to scale up. I agree, there is use for an action like this.
Bool Multi Condition (http://hutonggames.com/playmakerforum/index.php?topic=9117.0)
Enjoy!