DialogTree interrupt – stop

NodeCanvas Forums Support DialogTree interrupt – stop

Tagged: 

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

    #12936
    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!

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

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