Reading Blueprint pseudocode
The plugin turns a Blueprint into a text file for code review. These pages show how each kind of node becomes text, with the Blueprint graph beside the lines it produces.
Where the engines differ, the examples show 4.27's text. UE5 writes double where 4.27 has float, and some node names and pins differently: see File layout.
Topics
Using the plugin
Reading a Blueprint
File layoutThe header, the order of the sections, and the notes that open an incomplete file.
Variables and componentsVariables and their flags, components, class defaults and inline objects.
View bindings (MVVM)A Widget Blueprint's view models, bindings, events and conditions, in UE5.
Functions and eventsHeaders, what a call does beyond the call, a node's results, delegates and redirects.
Latent and async nodesDelays, async nodes and macros that wait: the
=> blocks.
Execution flowBranch, Cast, Sequence, Switch, Gate, Timelines and goto labels.
LoopsThe engine's loop macros as index loops, Break, and an array wired into Target.
Values and expressionsPure nodes, operators, fn_ declarations, structs and long lines.
LiteralsHow a string, name, text, number, enum, asset or struct typed into a pin reads.
Comments and dead codeComment boxes, node comments, disabled and unreachable nodes.
Forms at a glance
The forms in a text that read differently from a plain call, and the page that explains each.
| In the text | Means | Page |
|---|---|---|
// Not in the metadata: ... | Notes above the header: the text is incomplete, and they say where | File layout |
bool Healed = ..., var Name = ... | A node with execution pins whose outputs other nodes read | Functions and events |
/* breaks execution flow - ... */ | A wire reads a value the flow that reaches it did not set | Functions and events |
// interface message, // calls OnRep_Health | The call or Set does more than it reads as | Functions and events |
redirect function A = B | A name the engine or project config renames at load: the saved name, then the new one | Functions and events |
KismetSystemLibrary::Delay(2.0) => | A latent or async call: the lines under it run later, when it finishes | Latent and async nodes |
[Pin], [Pin] => | One block per wired output of a node with several; => marks one that runs later | Execution flow |
L_Name:, goto L_Name | A node that several execution wires lead to | Execution flow |
for (i = 0; ...) // ForEachLoop | An engine loop macro, written as the index loop it runs | Loops |
fn_X = () => ... | A pure chain read in several places: each fn_X() evaluates it again | Values and expressions |
AND(a, b), OR(a, b) | Blueprint's AND and OR nodes: every operand is evaluated, unlike && | Values and expressions |
[disabled], [development only] | A node that never runs; one that runs only in the editor and development builds | Comments and dead code |