Reply To: SubDialogueTree only in asset

Forums 💬 NodeCanvas ⚙️ Support SubDialogueTree only in asset Reply To: SubDialogueTree only in asset

#17989
Gavalakis
Keymaster

    Hello,

    SubTrees are really meant to be created when they are to be reused by other dialogue trees as well (otherwise you can have the whole dialogue in the root tree). As such a reusable tree can’t really stay reusable while also being bound to a particular root DialogueTreeController. Another reason is related to serialization, but this can get very technical.

    If the problem you are facing with subtrees being assets, is the fact that you can’t assign them scene object references, I’d recommend to please parametrize the subtree, by using it’s local variables and “map” these subtree variables from root dialogue variables, through the SubTree node inspector.

    If you need any help with that at all, please let me know.
    Thanks.