[Help]Switch Dialogue Graph Asset during runtime

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16784
    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?

    #16806
    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.

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

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