Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can you store a struct in a blackboard? And what about arrays in blackboard? Is this possible?


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?

Thanks in advance!

Product Version: Not Selected
more ▼

asked Feb 13 '15 at 12:40 AM in Blueprint Scripting

avatar image

21 3 4 6

avatar image brentJmcewan Feb 13 '15 at 12:47 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.



more ▼

answered Feb 13 '15 at 10:55 AM

avatar image

MieszkoZ STAFF
7.3k 223 57 412

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question