Restarting nested BT

NodeCanvas Forums Support Restarting nested BT

Tagged: 

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

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

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

    #10839
    karmelov
    Participant

    Hello,

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

    Thanks,

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

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

    Attachments:
    You must be logged in to view attached files.
    #10842
    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!

    🙂

    #10843
    Gavalakis
    Keymaster

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

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

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