add_switch_on_int_node
Adds a Switch on Int flow control node to a Blueprint, routing execution to different output pins based on an integer value. Specify case values to define branches.
Instructions
Add a 'Switch on Int' flow control node.
Routes execution to different paths based on an integer value.
Args: blueprint_name: Blueprint name cases: List of integer case values [0, 1, 2, 3] node_position: Optional [X, Y] graph position
Returns: Dict with 'node_id'; output pins named by case value + 'Default'
KB: see knowledge_base/07_DATA_STRUCTURES.md#overview Example: add_switch_on_int_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | No | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |