Download

How to run latent Blueprint node graph on demand? [solved]

I’ve built a few latent Blueprint functions so I can construct dialogue trees, branching story and animations for my visual novel as a Blueprint graph

i.e.

Now my problem: I want to run these sequences at will. But latent functions can only be run in the event graph.

How can I launch a sequence of latent nodes manually instead of in BeginPlay?

Spawning the Bluerprint in question only when the player triggers something wouldn’t only be messy, it would be tedious because it needs many references to nodes in the map (i.e. camera position markers and 3D UI position anchors).

Oh.

After searching all afternoon yesterday, right after posting this I found a solution.

-> Create a custom event in my actor Blueprint. It can be called from the level blueprint without any fuzz.