Timeline in Behavior tree task (Should it works ?)

I tried to use latent delay function in the BT task blueprint and it worked, then I wanted to try the same with the timeline ( first problem was that I was not able to add it through the right click to the BT task blueprint ) but it was possible to add during copy and paste from other ( non BT task ) blueprint, but I was not able to make it works (play). Is it a good idea to try use the timeline in the BT Task blueprint, how it can be used (connected there) ? Thanks?

Same doubt here, anyone?

I’d also like to be able to use timelines in tasks, mainly for scripted movement tasks

I had a similar need. I ended up using timelines in my actor blueprint which are triggered through a custom event. To use the event, I first set an “Executing Task” variable (type BTTask) on the actor with a reference to self (the task), trigger the event on the actor, and when the timeline finishes on the actor it calls Finish Execute via the variable.

1 Like