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

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

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15899
    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. 🙂

     

    -캡처-2021-09-30-140925

    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’

    -캡처-2021-09-30-140800

    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

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

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

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