The Behave project is a system for designing, integrating and running behaviour logic using Behaviour Trees for simulated characters in unity projects. NOTE: This project relates to Behave 1. For Behave 2 support and information, please use the AngryAnt community at http://community.angryant.com
I use subtrees to group actions I use very often in this exact positions together. But some of these actions take string parameters, which I cannot change from the parent tree. I could change them in the subtree but then all instances of this subtree would be changed and that is not what I intend to do.
The only possible way right now (I think) is to recreate the subtree to actual nodes in the parent tree and change the parameters there, but this completely destroys the benefit of subtrees at all.
So what I need is a way to change parameters in subnodes of instances of subtrees without changing the actual nodes in the subtree itself. I hope I've explained it well enough, but I don't know how to explain it any better...
I use subtrees to group actions I use very often in this exact positions together. But some of these actions take string parameters, which I cannot change from the parent tree. I could change them in the subtree but then all instances of this subtree would be changed and that is not what I intend to do. The only possible way right now (I think) is to recreate the subtree to actual nodes in the parent tree and change the parameters there, but this completely destroys the benefit of subtrees at all.
So what I need is a way to change parameters in subnodes of instances of subtrees without changing the actual nodes in the subtree itself. I hope I've explained it well enough, but I don't know how to explain it any better...