Skip to content

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: True only if both inputs are True.
  • NAND: Opposite of AND.
  • OR: True if either input is True.
  • XOR: True if inputs are different.

Example

Require two conditions before unlocking a transition.

  1. Set Bool 1 to HasKey.
  2. Set Bool 2 to IsNearDoor.
  3. Set Operation to AND.
  4. Store to Result as CanOpenDoor.

Then use CanOpenDoor in your transition logic.