Parallel Question

Forums 💬 NodeCanvas 🗨️ General Discussion Parallel Question

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15005
    atmuc
    Participant

      in a BT i want to run 2 parallel flow. one of them will blink the eye (wait, change sprite, wait, change sprite), second will do similar thing. one flow of parallel will wait other to complete. i set parallel to dynamic. how can i run my 2 flow independent? i use this BT as nested in my FSM. this is play state.

      #15007
      atmuc
      Participant

        i used BT action that you gave it’s code on unity forum. i added 2 bt action to a state. it worked.

        #15006
        Gavalakis
        Keymaster

          Hello,

          The most common way to do that is to add a parallel node with Repeater decorator childs set to RepeatForever and the rest of your nodes underneath those repeater decorators.

          So the key here is the Repeater (Repeat Forever) decorator node 🙂

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