To use it, do this:(a) enter the number of bools to include in the statement in the Bool Variables field.(b) enter the exact same number in the Bool States field.(c) in Bool Variable (0) field, enter the variable with the bool.(d) in Bool State (0) field, enter the state that the bool variable must be for this action to return True.(e) repeat c & d for each additional variable that you add.

To get TRUE:All bools variables must match the bool states that you selected.

namespace HutongGames.PlayMaker.Actions{ [ActionCategory(ActionCategory.Logic)] [Tooltip("Tests if all the given Bool Variables are are equal to thier Bool States.")] public class BoolTestMulti : FsmStateAction { [RequiredField] [UIHint(UIHint.Variable)] [Tooltip("This must be the same number used for Bool States.")] public FsmBool[] boolVariables;

[RequiredField] [Tooltip("This must be the same number used for Bool Variables.")] public FsmBool[] boolStates;

In the image below, if B: Flag Right Wall is TRUE, and B: Flag Bottom Wall is FALSE, the stored result will be TRUE and the True Event is called.

choi:
Quite useful in a multi-player game.Thank you.

beowulfkaine:
Thanks this really helped me

djaydino:
Hi,There is a similar action on the ecosystem called : Bool Multi Condition

omgitstri:
Hello @djaydino,

This is probably the wrong place to post this but I did a quick search on Bool Multi test and it lead me to this post.The Bool Multi Condition from the ecosystem works the same way as this script but the fail condition is not working along with the Everyframe function. It only check the condition once and then the action becomes disabled.