Behavior tree : how to stop a animation task ?

Hello !

In a Behavior Tree, simple Parallel composite, I would like to know how to stop an animation (in the node in background) when the main task is done (playing a sound in my case) ? I have to build a dialogue system (with a quite long discuss animation), maybe simple parallel isn’t the best solution…

](filedata/fetch?id=1877575&d=1617691755)

Thanks for helping !

Hey man! I dont know if after such a long time you found the solution or change the impl, but here is how I manage to get playing animations as montages controlled in BT .
imagen

My need here was that the animation was different and the wait time too ( my implementation of the patrol path have this features) , the task for playing the animation run a play montage on the pawn’s skeletal mesh comp and when its interrupt ( because the wait time is over and finishing the simple parallel) then the animation is cut or blend out.
Hope this helps you. Have a great day

I guess you can get the time that the sound would last and use it as the wait time here.