Add Blueprint Macro
Add a macro graph to a Blueprint. A macro is INLINED at every call site rather than called, so it cannot be used across Blueprints and cannot recurse, which is the difference from a function.
hf_add_blueprint_macroWriteArguments
| Name | Type | Description |
|---|---|---|
blueprintreq | string | Blueprint ASSET path, no _C suffix. |
macroreq | string | New macro name. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
Related tools
Nearby in Blueprints and graphs:
- Add Blueprint Component
- Add Blueprint Construction Script
- Add Blueprint Function
- Add Blueprint Interface
- Add Blueprint Node
- Add Blueprint Timeline
- Add Blueprint Variable
- Add Custom Event
All 40 tools in Blueprints and graphs — 31 more not listed here.