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
- In your Blueprint, add the Create Template Sequence Player node. Once added, select your Template Sequence asset from the dropdown menu on the node.
- 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.
- 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.
- 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: