I have a feature request: I often use blackboard variables in SubTrees as a sort of ‘parameters’ of the SubTree. I first set up these variables and then execute the SubTree. I do this by using a regular sequencer node, one action node (containing set blacboard variable action tasks) and a subtree node. It would be nice if these could be merged in one node. My suggestion is to have a list of blackboard variables + values in the SubTree node that will be set just before the SubTree is executed. (only on first execution, not when it is already running) It would simplify some of my trees and would make the use of the SubTree node more powerful/elegant imo.
This is actually planned for v3.0 (even more streamlined though :)). The plan is for each graph to have it’s own separate unique local variables and that the SubTree node, to have a list of the SubTree’s variables able to parametrize, prety much the same as what you are suggesting.
This is already happening in the Dialogue Trees system (SubDialogueTree node), if you want to take a look at how it will also take place at BehaviourTrees and FSMs in v3.0.
The only reason it’s not already happening for BT and FSMs, is due to backwards workflow compatibility, but for v3.0 some things (like this one) need to be changed to improve the tool further.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.