Bool Operator
Combines two bool values and stores the result.
Parameters
| Parameter | Description |
|---|---|
| Bool 1 | First input value. |
| Bool 2 | Second input value. |
| Operation | Boolean operation (AND, NAND, OR, XOR). |
| Result | Where to store the computed value. |
Operations
- AND:
Trueonly if both inputs areTrue. - NAND: Opposite of AND.
- OR:
Trueif either input isTrue. - XOR:
Trueif inputs are different.
Example
Require two conditions before unlocking a transition.
- Set Bool 1 to
HasKey. - Set Bool 2 to
IsNearDoor. - Set Operation to
AND. - Store to Result as
CanOpenDoor.
Then use CanOpenDoor in your transition logic.