latch not reset when call RestartBehaviour on BehaviourTree?

Forums 💬 NodeCanvas ⚙️ Support latch not reset when call RestartBehaviour on BehaviourTree?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15581
    roger_peng
    Participant

      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;

      }

      #15582
      Gavalakis
      Keymaster

        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.

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