should I put one off task into behavior tree?

hi,greetings.quick question.
let’s say that we have a pawn.when he got spawn into the level,he would play an animation emerging slowly from underground.the “emerging ” task will only need once.the pawn never do it again.
what would be your prefer ?

1:do it in behavior tree.

2:do it in the pawn Itself.run behavior tree after the animation has done.

Should this be a question?what I’m concerning is that if I do 1,that would be letting the pawn self to make decision?(that’s what behavior tree should do.)

and if I do 2.
the behavior tree done it once then never do it again,but it would still check the condition every tick to see if it can run the task?

thanks for sharing anything

It’s not really a decision because you don’t need your pawn to choose if it needs to play anim or do something else. It just 100% needs to play it and only once. Don’t add unneccessary checks in BT. Just write it on begin play and then run behavior tree

1 Like

You made sense.thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.