DialogTree interrupt – stop

Forums 💬 NodeCanvas ⚙️ Support DialogTree interrupt – stop

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17508
    laymelek
    Participant

      Hello,

      I need support with DialogTree. I am starting my dialogtree with StartDialog() but during the dialog I want to be able to stop/cancel it whenever I want. I couldnt find any StopDialog() method to call. How can I proceed.

      Best Regards,
      Levent

      #17510
      Gavalakis
      Keymaster

        Hello,

        The StopDialogue() have been omitted, but you can achieve exactly the same thing, by calling something like:
        GetComponent<DialogueTreeController>().StopBehaviour() .

        Regardless, I have just added StopDialogue() method in DialogueTreeController for consistency purposes, although, simply calling StopBehaviour(), is exactly the same.

        Thanks!

        #17509
        laymelek
        Participant

          I will give it a try. Thanks!

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