Re-Use Sequences?

kk99

New member
Hello everyone,


is it possible to re-use Sequences?



Lets say I have a sequence that moves the NPC to a target, the NPC picks up something from the ground, plays an animation and do some idle stuff

I would like to reuse this sequence in another sequence? Is that possible?


I used before Panda Behavior Tree and I could easily re-use trees here and there. Unfortunately, that Tool had various other issues so I had to switch.

thanks

upload_2018-12-31_11-18-8-png.351946
 
Maybe this one?
https://opsive.com/support/documentation/behavior-designer/external-behavior-trees/

I often use external behavior trees for small groups of tasks.
To add an external behavior tree, right click on the editor screen, choose "Add Behavior Tree".

However, you can not add an external behavior tree inside an external behavior tree, so it is hard to create big and complex trees which contain many repetitive reusable small task groups.

Screen Shot 2019-01-01 at 3.34.36 AM.png
 
thanks for the quick reply. That's pretty much what I was looking for.

Too bad you cannot add an external behavior tree inside an external behavior tree.

If you try it you dont get any errors but the Tree is not considered/displayed at all.

That would be a nice upcoming feature.
 
hmm looks like you can add an external behavior tree inside an external behavior tree.

All you have to-do is include both trees in the Root
e.g.


1546355218418.png

1546355232430.png

1546355247124.png

1546355264734.png

Final Result when running


1546355295182.png
 
Top