DT Node Request – Probability Selector w/ Condition Task Support

Forums 💬 NodeCanvas ⚙️ Support DT Node Request – Probability Selector w/ Condition Task Support

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16911
    majicpanda
    Participant

      As discussed in Discord, I’m looking for a DT Node that would take the normal Probability logic but also allow for Condition Tasks to be added to each line coming out of it to child nodes so that certain branches could be omitted during OnExecute. I think if one of the conditions results in a failure the total weight would have to be re-calculated to omit that path. 25/25/25/25 and one failure would then result in 33/33/33 etc.

      #16914
      Gavalakis
      Keymaster

        Hello,

        I’ve just complete implementing the requested node.
        As suggested, a child that fails the condition, is also out of the probability equation. The “new” chances are also visible in the connections info, once the node is executed, for visual debugging.
        I have attached for you here this new node. Let me know how it works for you.

        Thanks 🙂

        #16913
        majicpanda
        Participant

          Preliminary testing looks great and good debug tools thanks for that 🙂
          Great support getting this in for us before our demo, really appreciate it.

          #16912
          Gavalakis
          Keymaster

            You are very welcome!!
            (Sorry for the late reply 🙂 )

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