Forums › 💬 NodeCanvas › ⚙️ Support › latch not reset when call RestartBehaviour on BehaviourTree?
How can I reset a BehaviourTree completely?
If latch flag remains true, action task will skipped one frame ?
I noticed // if ( success == null ) { latch = false; } was comment out in ActionTask Script, can I open this?
if ( status != Status.Running ) {
// if ( success == null ) { latch = false; } //what is it for?
return;
}
Hello and sorry for the late reply.
In the latest version this comment has been removed and the line is in code. Can you please confirm if that works for you.
Thanks you.