add_relational_operator_node
Inserts a comparison node into a Blueprint graph to evaluate two values (equality, inequality, greater/less than, etc.) and output a Boolean result. Choose operator and operand type to create conditional logic.
Instructions
Add a relational (comparison) operator node returning a Boolean.
Ch.2: Relational operators compare two values and return True/False:
Equal (==): Both values are the same
NotEqual (!=): Values differ
Greater (>): Left > Right
GreaterEqual (>=): Left >= Right
Less (<): Left < Right
LessEqual (<=): Left <= Right
Args: blueprint_name: Blueprint name operator: "Equal", "NotEqual", "Greater", "GreaterEqual", "Less", "LessEqual" operand_type: "Float", "Integer", "String", "Name", "Vector", "Object" node_position: Optional [X, Y] graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_relational_operator_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operator | No | Equal | |
| operand_type | No | Float | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |