add_direct_blueprint_reference
Add a variable to a Blueprint for holding a direct reference to another Blueprint class, enabling direct function calls between actors.
Instructions
Add a variable to hold a direct reference to another Blueprint.
This is the Direct Blueprint Communication pattern - you store a reference to another actor and call its functions directly.
Args: blueprint_name: Blueprint that will hold the reference target_blueprint: Blueprint class to reference variable_name: Variable name for the reference is_exposed: Make editable in editor (required to assign via editor)
KB: see knowledge_base/02_BLUEPRINT_COMMUNICATION.md#overview Example: add_direct_blueprint_reference(blueprint_name="/Game/MCP_Test/BP_Example", target_blueprint="/Game/MCP_Test/BP_Example", variable_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_exposed | No | ||
| variable_name | Yes | ||
| blueprint_name | Yes | ||
| target_blueprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |