add_blueprint_switch_on_int_node
Add a Switch on Int node to a Blueprint graph to route execution to different case pins based on an integer value.
Instructions
Add a Switch on Int node (K2Node_SwitchInteger) to a Blueprint graph.
Routes execution to Case 0, Case 1, ... Default based on an integer input.
Args: blueprint_name: Asset name of the Blueprint. graph_name: Graph to add to. Default 'EventGraph'. node_position: Optional [X, Y] canvas position.
Returns: Dict with 'node_id', 'node_name', 'node_type', and 'pins'.
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_blueprint_switch_on_int_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | No | EventGraph | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |