'Force Finish Graph' will not finish 'Repeat' node in BT?

Forums 💬 NodeCanvas ⚙️ Support 'Force Finish Graph' will not finish 'Repeat' node in BT?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15852
    whitedoggy
    Participant

      Hi.

      We are enjoying using NodeCanvas by far. it is such a great asset.

      however there is one possible problem.

      It would be great if you can help us with it. 🙂

       

      [attachment file=”화면 캡처 2021-09-30 140800.png”][attachment file=”15901″]

      I have set my BT(called BT A) like this.

      1. it will repeat until fail.

      2. it will check if it gets some special event, if its true it will execute ‘Force Finish Graph as success’

      [attachment file=”화면 캡처 2021-09-30 140925.png”][attachment file=”15900″]

      This BT(called BT B) uses BT A above.

      What I expected was:

      BT A finish will finish successfully when event occurs, so It will proceed to next node of BT B.

      What Really Happend:

      BT A will not finish even ‘force finish graph’ was executed.

      I was thinking like ‘Force Finish Graph’ will finish everything, such as Wait until, Repeat, Iterate.. etc

      #15853
      Gavalakis
      Keymaster

        Hello there,

        You are right, there is a bug in the Force Finish Graph code. I have attached for you here the fix.

        Also, for this setup to work correctly, please select “Finish Status” to be “Failure” in the Force Finish Graph action inspector since you have selected the Repeater to repeat Until Failure.

        Let me know if the above works for you.

        Thank you.

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