add_arithmetic_operator_node
Add an arithmetic operator node (Add, Subtract, Multiply, Divide, Modulo) to a Blueprint to create math expressions. Specify operator, operand type, and optional position.
Instructions
Add an arithmetic operator node (Add, Subtract, Multiply, Divide, Modulo).
Ch.2: Arithmetic operators create expressions in Blueprints:
Add (+): Sum two values
Subtract (-): Difference between values
Multiply (*): Product of two values
Divide (/): Quotient of two values
Modulo (%): Remainder after division (integers only)
Args: blueprint_name: Blueprint name operator: "Add", "Subtract", "Multiply", "Divide", "Modulo", "Power" operand_type: "Float", "Integer", "Vector", "Int64" node_position: Optional [X, Y] graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_arithmetic_operator_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operator | No | Add | |
| operand_type | No | Float | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |