Reply To: Blackboard Variable Types issue

NodeCanvas Forums Support Blackboard Variable Types issue Reply To: Blackboard Variable Types issue

#11046
Gavalakis
Keymaster

Hey,

You are welcome. 🙂

You can use the Blackboard API to add any type of variable outside the variables editor and through coding. That includes adding Dictionary types.
For example, if you add this script on the gameobject that the blackboard is, you will be able to add a dictionary type through the script’s context menu, which you can do in the editor as well.

Even doing so, there are no existing actions for dictionaries though, so creating custom ones to do what you want will be required. I can help you with that of course.

Regarding your 2nd question, can you please provide a bit more info on what you will require to do with this list of enemies variable? Is “Enemy” some custom MonoBehaviour script you have created?

Let me know.
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh