NodeCanvas Forums › Support › 'Force Finish Graph' will not finish 'Repeat' node in BT?
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. 🙂
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’
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
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.
Join us on Discord: https://discord.gg/97q2Rjh
Username or Email