Boolean

From Augmotic Library
< Unreal‎ | API
Inputs
Inputs Logical inputs to test.
Outputs
Result Logical output after test.
Special
Add Pin Adds an additional input pin.
The equivalent can be achieved in C++ by combining Logical Operators (!, &&, ||) and parentheses to form logic statements.

Overview

The Boolean nodes will perform a boolean function and output the result. These nodes are the blueprint equivalent to Logic Gates. There are six possible boolean functions to perform.

Additional inputs may be added for the AND, NAND, and OR nodes.

A && B
Inputs Output
0 0 0
0 1 0
1 0 0
1 1 1
!(A && B)
Inputs Output
0 0 1
0 1 1
1 0 1
1 1 0
A || B
Inputs Output
0 0 0
0 1 1
1 0 1
1 1 1
!(A || B)
Inputs Output
0 0 1
0 1 0
1 0 0
1 1 0
!A != !B
Inputs Output
0 0 0
0 1 1
1 0 1
1 1 0
!A
Input Output
0 1
1 0

Examples

Status Checks

After pressing the primary attack button, a check occurs that the weapon is drawn and the player is not stunned before attacking.