[Help]Switch Dialogue Graph Asset during runtime

Forums 💬 NodeCanvas ⚙️ Support [Help]Switch Dialogue Graph Asset during runtime

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15411
    jxue
    Participant

      So, I created a dialogue tree asset, and set some local variables in its blackboard.
      I try to run the new graph by calling SwitchBehavior() in DialogueTreeController.
      The graph is changed, but the local variables of the new graph are lost.

      Can anyone show me a clue?

      #15412
      Gavalakis
      Keymaster

        Hello,

        Can you please clarify what you mean by lost? You mean that the graph blackboard variables are empty once after you call SwitchBehaviour (not that I can replicate this, but need to clarify).

        Please let me know.

        Thank you.

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