Ability to pass a Blackboard as a variable to a subgraph

  • I have a Subgraph called Detection which has 10 exposed variables on its own blackboard.
  • I use the Detection subgraph within various graphs for my AI creatures.
  • I have a Blackboard asset called Creature which has the 10 variables defined so that I can easily add it to each AI creature graph as there will be lots. The variables get updated at runtime based on logic in the creature graph.
  • On each creature graph I have to drag the 10 variables from the Creature blackboard to the Detection subgraph node inspector. This is the part that is tad cumbersome each time we spin up a new graph.

So, in summary, it would be awesome if I could have an exposed Blackboard Asset variable on the subgraph node that I can simply drag in the Creature blackboard asset from the creature graphs blackboard. Failing that, some way to automatically populate the variables on the subgraph node would be helpful too.

Of course, I can do it manually, its not the end of the world by any means, but just thought it’d be worth raising as it could result in some other interesting use-cases.

2 Likes

Hi @fendercodes,

This makes sense. I’d like to just confirm that the goal is to also restrict the Blackboard Asset to ones that are an instances of the Blackboard Asset type being references in this case? So it can’t be just any random Blackboard Asset.

Yeah, that would be best I think.