Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
27 results for Macro
BLUEPRINT FUNCTION: - Has its own execution context, can have inputs/outputs/return value. - Cannot have Delay, Timeline, or latent nodes inside. - Best for: pure logic, calculations, data transformation. - Can be overridden in child BPs (if not pure). CUSTOM EVENT: - Lives in event graph, can be called like a function. - CAN have Delay, Timeline, latent nodes. - Can be Replicated (Server/Client/Multicast). - No return value. Best for: triggered behavior, RPC calls. MACRO: - Inlined at call site — like a code template. - CAN have multiple exec inputs AND outputs. - CAN contain latent nodes. - Best for: reusable flow patterns (e.g. 'IsValidAndCast' check-and-cast pattern). PURE FUNCTION: checked 'Pure' — no exec pins, evaluated on demand. Best for getters.
Macro from StandardMacros. LastIndex is inclusive (uses <=).
ForLoopUE 5.4, 5.7updated 2mo agoAn inline-expanded subgraph. Like a function but each use creates a fresh copy at compile time (faster, but more bytecode).
K2Node_MacroInstance from StandardMacros. Has exec pins unlike the pure IsValid function.
IsValid (macro)UE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoUPrimitiveComponent method. Store result in variable and reuse. Create once in BeginPlay.
Create Dynamic Material InstanceUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoFModUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agostring
Must call this before SetScalarParameterValue/SetVectorParameterValue. Store the result in a variable for reuse.
CreateDynamicMaterialInstanceUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoK2Node_FormatText. Use {ArgName} placeholders in format string. Adds input pins per argument automatically.
Format TextUE 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoOR=BooleanOR, NOT=Not_PreBool, XOR=BooleanXOR
ANDUE 5.4, 5.7updated 2mo ago