Is there a way to save the blackboard with a graph asset?

NodeCanvas Forums General Discussion Is there a way to save the blackboard with a graph asset?

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  asusralis 4 days, 7 hours ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #13063


    I have an FSM that animates a sprite renderer. I want to use this blackboard with a lot of different objects, but it seems like the blackboard isn’t saved with the graph.

    For example, let’s say that I have sprite animation references that need to be changed depending on what character the FSM is attached to. I define them in the blackboard to I can easily plug in whatever animations I want:

    Now, when I save this graph I made that uses these references, it shows I have defined parameters when viewing the graph asset, but when I drag the graph into an object it doesn’t create them in the blackboard!

    Can you explain to me the best way to do what I’m trying to do?



    Hello and sorry for the very late reply (I was ill).

    While there is no ability to save the Blackboard as an asset right now (looking into this), there is a nifty toolbar command to automatically create blackboard variables of all “Defined Parameters” in the graph.
    This is (in the NC Graph Editor window), under “Edit -> Promote Defined Parameters To Variables”.
    This will search your graph for defined parameters and fill in the blackboard with required variables of that name and type.

    Let me know if that works for you.



    This actually helps a lot, but it would be nice to be able to save the blackboard as well (or make it a little more streamlined). Either way, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.