Open faximilie opened 3 years ago
I am not really sure how practical the blackboard is. How to use it in behavior tree. How to really debug your stored data inside another dictionary in another node. In the current implementation, your script is your blackboard and you must define it clearly as global variable in your script, you can't just put any random variable that hard to debug. When bug come around you can see the content of your bugged variable in the godot debugger easily. Observing content of a dictionary in another node in godot is so much harder.
Add a blackboard which seems to be standard practice for tracking data in Behavior trees
why would you implement a blackboaard when you can just...
#entity script
var myblackboard := {}
func sometask(task):
var myVar = myBlackboard[task.get_param(0)])
#do stuff with var
task.succeed()
Add a blackboard which seems to be standard practice for tracking data in Behavior trees