add_set_timer_by_function_name_node
Adds a looping timer node to a Blueprint that calls a named function at a set interval, enabling recurring actions such as enemy spawning or stamina regeneration.
Instructions
Add a 'Set Timer By Function Name' node for recurring callbacks.
Ch.10: Used in enemy spawner to periodically call SpawnEnemy. Ch.8: Used for stamina regeneration over time. Starts a timer that calls the named function after the specified delay.
Args: blueprint_name: Blueprint name function_name: Name of the function to call on timer tick timer_rate: Time in seconds between calls looping: If True, repeats indefinitely node_position: Optional [X, Y] graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_set_timer_by_function_name_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| looping | No | ||
| timer_rate | No | ||
| function_name | No | SpawnEnemy | |
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |