I want to store an array of structs in my AI Blackboard but I cant seem to do this. There is however a class option - is the way to do it to store all my information in a new class? Or is it possible to get support for structs and arrays in the blackboard?
Basically, I want my enemy characters to be able to store information about other enemy characters around them, I was hoping to use a struct for the data, then an array of structs where each element is for the specific enemy.
I could make a class but I was just wondering if this is available to do in blueprints in any way?
I just found the question posted on arrays in the blackboard - I hope this support comes soon! It would be extremely useful!
In the meantime I will have to find a way to do it with custom classes I think…
We are going to support arrays in 4.8. User-created structs not so much - it’s very tricky and we’re blocked by some BP details. We’ll add it as soon as possible.
And as a fallback you can always create a custom BP class storing your stuff and have that stored in Blackboard. That’s supported from the very beginnings of our Blackboard implementation.