How can I add a template sequence to a spawnable actor in a level sequence using blueprints and/or C++?

Using the level sequencer, I can easily add a template sequence to a spawnable actor, but I wanted to ask if this would be possible to do in blueprints/C++.

Hello there @Xentou1!

Checking around the community, there’s a guide on how to add sequences with blueprints, please follow the steps below:

Blueprint Usage

Template Sequences can also be applied to Actors at runtime using the Create Template Sequence Player Blueprint node.

Content Setup

  1. In your Blueprint, add the Create Template Sequence Player node. Once added, select your Template Sequence asset from the dropdown menu on the node.

  1. Call Set Binding from the Template Sequence Player node and connect the Out Actor pin from the Template Sequence Player node to the Target pin.
  2. Add a reference to the Actor you want to apply the template sequence animation to and connect it to the Set Binding node’s Actor pin.

  1. Lastly, add a Play node and connect from the Create Template Sequence Player node’s Return Value pin.

More details can be found in the full documentation: