A composite that runs all children, regardless of returned status

NodeCanvas Forums Custom Nodes & Tasks A composite that runs all children, regardless of returned status

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11680
    bcristian
    Participant

    Hello

    The following composite will run all the children, regardless of their return status.
    The same can be achieved using the Optional decorator, but on large graphs that is error-prone and does not immediately convey intent. For example, iterating an empty collection yields a failure. But depending on context, this might or might not be the proper semantic.
    Using this composite clearly conveys the intent of executing all the actions.

    #12146
    arachnidjacob
    Participant

    Is there a reason why most behaviour tree implementations dont include a node like this? Is it considered bad design to have many nodes “running” at the same time?

    #12410
    timv
    Participant

    I made an icon for this node. I think it turned out ok. You may find it useful.

    Attachments:
    You must be logged in to view attached files.
    #12420
    Gavalakis
    Keymaster

    Hey,
    Thanks for sharing 🙂

    Join us on Discord: https://discord.gg/97q2Rjh

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