Ive been using state trees however im having some implementation issues and i thought id give behavior trees a shot. However i have been immediately halted by the ability to create a BB key that is a struct however there are no set BB key as struct nodes so i have cannot figure out how to actually set it… Any help would be appreciated.
Hey @EvilGeniusTC!
Structs are great and I use them constantly. Probably more than I should because it’s so CONVENIENT- until it isn’t because what I’m trying to do isn’t supported.
It has something to do with how structs aren’t a variable, they’re a container- you may want to pick and choose pieces of your struct that are important to your Behavior tree and set them individually to the BB. Kind of like how to “Set a struct” there’s “Set Struct” which just makes a struct a certain type of container, and then “Set Members of Struct” which sets the individual values.
Hope this helps!
I understand what you are saying but why then can i create a BB key of type struct if there is not a node to set the value of said struct in the blackboard