Restarting nested BT

Forums 💬 NodeCanvas ⚙️ Support Restarting nested BT

  • This topic has 0 replies, 2 voices, and was last updated 10 years ago by Gavalakis.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18649
    karmelov
    Participant

      Hello,

      I have a FSM with several nested BTs.
      I want some of the BTs to be executed from the begining each time they are accessed, but it seems the BT is paused and it resumes once it’s entered again.

      Is there any way to force the BT to restart each time it is accessed?

      Thanks!

      #18654
      Gavalakis
      Keymaster

        Hello,

        By default nested BT in an FSM are executed from the beggining. There is an option in the FSM-Nested BT, called “Exit Mode”. Do you maybe have accidentally set this option to “Pause” instead of “Stop” which is the default?

        Let me know.
        Thanks.

        #18653
        karmelov
        Participant

          Hello,

          I can’t seem to find the option “Exit mode” for the nested BT.
          Where should it be?

          Thanks,

          #18652
          Gavalakis
          Keymaster

            Hello,

            I have attached an image for that. This option is only available to latest version 2.5.0
            If you are using a previous version of NodeCanvas, the default behaviour was to Stop/Restart the nested BT, instead of Pause/Resume anyway, in which case there might be something different going on in your case rather that the BT getting Paused/Restarted.

            Please let me know.
            Thanks.

            #18651
            karmelov
            Participant

              Hello,

              Well, this is weird.
              I wasn’t able to see the option, and it turns out i wasn’t using the last version.
              I updated, and now I can see the option, and works as expected.

              Did a bug in the old version give me a feature of a future version? lol
              Bugature!

              Thanks a lot, all working perfectly now!

              🙂

              #18650
              Gavalakis
              Keymaster

                Thanks for letting me know. Indeed it’s very strange how you got a feature from the future 🙂

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