add_min_max_node
Add a Min or Max node to an Unreal Engine Blueprint to return the smaller or larger of two values, ideal for clamping health, stamina, or scoring systems.
Instructions
Add a 'Min' or 'Max' node returning the smaller/larger of two values.
Used in health/stamina clamping and scoring systems throughout the book.
Args: blueprint_name: Blueprint name operation: "Min" or "Max" operand_type: "Float" or "Integer" node_position: Optional [X, Y] graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_min_max_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | Min | |
| operand_type | No | Float | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |