Blackboard not available in script

NodeCanvas Forums Support Blackboard not available in script

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11111
    timbecile
    Participant

    Hi,

    I’m trying to follow the instructions on instantiating a Behavior Tree and Blackboard through script, but Blackboard isn’t available as an option for a variable type in the script. I added ‘using NodeCanvas;’ to my script, but I still don’t get blackboard as a variable type.

    The script is telling me that using directive for NodeCanvas is unnecessary.

    #11116
    Gavalakis
    Keymaster

    Hello,

    The ‘Blackboard’ class is within the “NodeCanvas.Framework” namespace.
    So you need to add “using NodeCanvas.Framework” instead of “using NodeCanvas” 🙂

    Thanks.

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

    #11118
    timbecile
    Participant

    that explains it.

    The example in the docs had it in the NodeCanvas root.

    #11126
    Gavalakis
    Keymaster

    Oh, I just updated the docs. Thanks for pointing this out.

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

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