add_custom_macro
Add a reusable custom macro to a Blueprint, supporting multiple exec outputs and latent nodes. Define inputs and outputs for tunnel parameters to enable modular logic within single Blueprint.
Instructions
Add a custom Macro to a Blueprint.
Macros are like functions but they exist within a single Blueprint, support latent nodes (Delay, etc.), and can have multiple exec outputs.
Args: blueprint_name: Blueprint name macro_name: Macro name inputs: Input tunnel parameters outputs: Output tunnel parameters
KB: see knowledge_base/02_BLUEPRINT_COMMUNICATION.md#overview Example: add_custom_macro(blueprint_name="/Game/MCP_Test/BP_Example", macro_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | ||
| outputs | No | ||
| macro_name | Yes | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |