AngryAnt / Behave-release

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
http://angryant.com/behave
34 stars 6 forks source link

Feature Request: Pass parameters to subtree actions #51

Closed loofou closed 10 years ago

loofou commented 12 years ago

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...

AngryAnt commented 11 years ago

Sounds very interesting. Definitely something to look into.

AngryAnt commented 10 years ago

Tree parameterisation was added in version 2.1.