[FEATURE REQUEST] Global Blackboard Asset variables in BT

NodeCanvas Forums General Discussion [FEATURE REQUEST] Global Blackboard Asset variables in BT

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16428
    wrymn
    Participant

    It would be really beneficial, if you could define Global Blackboard asset with variables, and have those variables accessible from behavior trees variables blackboard.

    Since many projects are not tied to any particular scene (e.g. they can have dozens of levels) having Global Blackboard component on gameobject instance just does not cut it.

     

    It would really help if we could define global variables per entire project, in this Global Blackboard Asset scriptable object and have it available either in every BehaviorTree by default, or to be able to “inject” this asset into a behavior tree, and those variables would become available.

     

    Competitor Behavior Designer unity asset already has this functionality, where you can define global shared variables that are available to entire project.

    #16444
    Gavalakis
    Keymaster

    Hello,

    There is already the ability to create Asset Blackboards (by right click in your project as usual) and assign asset blackboard as parent to the gameobject blackboard to “inherit” and use the asset variables. You can create as many asset blackboard as you like and assign them accordingly, instead of being able to only create one. Please take a look at the documentation here:

    Let me know if that works for you.

    Thanks.

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

    #16448
    wrymn
    Participant

    But that ties you do the scene. We do not use gameobjects when creating graphs, only scriptable objects. So we have nowhere to assign this blackboard asset to, since we are constructing our objects dynamically during the runtime from graph assets.

     

    This is why the pure asset blackboard was requested, without need for gameobjects or components.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.