UE5 How To Use The Level Sequence Director

We are going to explain the Level Sequence Director Blueprint with the assumption that you understand what Delegates in C++ are, so if you don’t understand them you’re probably not going to follow this tutorial well.

The Level Sequence Event Track(s)

Before we can understand the purpose of the level sequence director blueprint, We first need to understand what the “events” inside a level sequence events track mean. 

The events track gives you the ability to “fire off events” from sequencer.

What does firing off events really mean

Events in a level sequence track behave just the same as Single-Cast Delegates.

 

So “firing off events” in sequencer is the same as Broadcasting/Executing the delegate. Every time you add a keyframe in an events track, you’re broadcasting/executing the delegate.

 

This then brings us to the Level Sequence Director Blueprint. 

Which hosts the callback functions that will be called when this delegate(event) is executed/broadcast.

The purpose of the level sequence director blueprint

The main purpose of the Level Sequence Director Blueprint is to host and define the callback functions that will be bound and run to the delegates(event) when the delegates are broadcast.

The Events Payload Data

Events” keyframes have a section for “payload data” under properties when you right click the keyframe.

This payload data is the same as payloads in a c++ delegate.

Meaning the function we define in the Director Blueprint MUST match our payload data in terms of arguments, just like a C++ delegate binding function.

And it works exactly the same, the data we add as payload data will get passed to our functions in the Director BP.

Level Sequence Player Reference

The director BP class already contains a reference to the ULevelSequencePlayer that’s playing the level sequence.

This means you can already query data like current playtime, the Level Sequence Tracks, etc.. right within the Director Blueprint.

Use Case Examples of the Director BP

You can either use the Director BP to respond to event tracks OR respond to pre-existing ULevelSequencePlayer Delegates.

  1. Create an event at the 0 time, and when that event is called bind another function to LevelSequencePlayer delegates.
  2. Create an event that passes the current actors in the world , where you can query their location or other variables. This is mostly useful for spawnables as they only exist within the Level Sequence. The actors can be passed as payload data.
  3. Create events that switch the current Animation blueprint of the actor in the level Sequence at different times of playbacks. The anime bp can also be passed in as payload data.
  4. Create events that modify spawnable variables and more… possibilities are endless.
5/5

Welcome to our audio and rhythm plugins collection! With MidiEngine, you can easily import MIDI files and use midi events to create engaging rhythm gameplay or enhance your videos.

4.5/5

Plugin that helps add UMG Widgets to Level Sequences for Text Layers, Movie Titles, 2D layers and more… directly within sequencer. Cross platform.

5/5

Let your end users Split And Resize The UI at runtime. Perfect for both games and Applications.

Consider investing in some of our plugins. They might save you some time.  Also helps supports these tutorials.

Instantly get access to our plugins like Blender Curves Importer and UMG Cinematics and more when  you support us on Patreon!

 Join Us On Discord For More Daily Tips!