add_blueprint_for_loop_node
Add a ForLoop macro node to a Blueprint graph, specifying start and end indices for iterative execution.
Instructions
Add a standard ForLoop macro node to a Blueprint graph.
Pins: execute, First Index (int), Last Index (int), Loop Body (exec), Index (int), Completed (exec).
Args: blueprint_name: Asset name of the Blueprint. graph_name: Graph to add to. Default 'EventGraph'. first_index: Starting index (default 0). last_index: Ending index (default 9). 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_for_loop_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | No | EventGraph | |
| last_index | No | ||
| first_index | No | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |