BehaviorTree.CPP icon indicating copy to clipboard operation
BehaviorTree.CPP copied to clipboard

Return the tree ID when registering a file

Open galou opened this issue 9 months ago • 1 comments

Return the attribute "main_tree_to_execute" or the ID of the single behavior-tree.

I was playing around with registerBehaviorTreeFromFile() and createTree and realized that I was missing the ID of the tree to execute. This commit solves this.

galou avatar Mar 18 '25 14:03 galou

I think this is useful, but being an API change I need to wait for the version 5 release

facontidavide avatar Apr 16 '25 09:04 facontidavide