bp_add_bp_node
Adds a node to an Unreal Blueprint event graph, supporting CallFunction, CustomEvent, VariableGet, and VariableSet for audio logic.
Instructions
Add a node to the active Blueprint's event graph.
Supports 4 node kinds:
CallFunction: Audio-allowlisted functions (SetFloatParameter, PlaySound2D, etc.)
CustomEvent: User-defined events
VariableGet: Read a Blueprint variable (must pre-exist)
VariableSet: Write a Blueprint variable (must pre-exist)
Args: node_id: Unique ID for this node (used in connect/set_pin calls) node_kind: One of: CallFunction, CustomEvent, VariableGet, VariableSet function_name: Required for CallFunction — the function to call event_name: Required for CustomEvent — the event name variable_name: Required for VariableGet/VariableSet — the variable name position_x: Editor X position position_y: Editor Y position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| node_kind | Yes | ||
| event_name | No | ||
| position_x | No | ||
| position_y | No | ||
| function_name | No | ||
| variable_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |