add_call_interface_function_node
Adds a Blueprint Interface function call node to a blueprint, allowing safe invocation on any target actor that implements the interface without direct casting.
Instructions
Add a node to call a Blueprint Interface function on a target object.
From Ch. 16: The VRPawn calls TriggerPressed on whatever Grabbable Actor the controller is holding - if the Actor implements VRInteractionBPI, the function executes; if not, nothing happens (safe call, no crash).
This is the key advantage of interfaces over direct casting: you can call functions on unknown object types safely.
Args: blueprint_name: Blueprint making the call interface_name: Interface containing the function function_name: Interface function name to call target_variable: Variable or node providing the target Actor reference node_position: [X, Y] graph position
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_call_interface_function_node(blueprint_name="/Game/MCP_Test/BP_Example", interface_name="ExampleName", function_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_name | Yes | ||
| node_position | No | ||
| blueprint_name | Yes | ||
| interface_name | Yes | ||
| target_variable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |