add_set_timer_by_event_node
Add a SetTimerByEvent node to a Blueprint, connecting a custom event that fires at set intervals, triggered by an event like ReceiveBeginPlay.
Instructions
Add a SetTimerByEvent node with a connected Custom Event.
From Ch. 18 (Actor Component testing): Set Timer by Event calls a custom event on a regular interval. Used in the book to trigger GainXP every second.
Args: blueprint_name: Blueprint to add the node to time_seconds: Timer interval in seconds looping: True for repeating timer custom_event_name: Name of the custom event that gets called trigger_event: Event that starts the timer (e.g., "ReceiveBeginPlay") node_position: [X, Y] graph position
KB: see knowledge_base/11_BLUEPRINT_LIBRARIES_AND_COMPONENTS.md#overview Example: add_set_timer_by_event_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| looping | No | ||
| time_seconds | No | ||
| node_position | No | ||
| trigger_event | No | ReceiveBeginPlay | |
| blueprint_name | Yes | ||
| custom_event_name | No | TimerCallback |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |