[Feature Request] parallel not return if any child is running

NodeCanvas Forums General Discussion [Feature Request] parallel not return if any child is running

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  carlwang 6 hours, 33 minutes ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15091

    dungdajhjep
    Participant

    i made it for my self, if someone need it.

    parallel.cs

    #15092

    Gavalakis
    Keymaster

    Hello there,

    Since I can’t see the whole code in the screenshot, is the goal here to keep repeating the Parallel forever up until all children have finished running, or up until the Policy is met when the Parallel is in “Repeat” mode?

    If you want to please share the whole contents I may implement this in the next version considering this works for you 🙂

    Cheers!

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

    #15104

    dungdajhjep
    Participant

    I just want to be able to evade if needed during an attack. It is unbelievable that no one has asked this before.
    Im uploaded the file.

    P/s:
    The problem with parallel node is that once it returns results, it will reset all the child nodes that are running.
    Case first return true:
    If the evasion is completed, the attack will be stopped.
    Case first return false:
    The parallel node will return false even though the node attack is running, and the table of right nodes will be started and stopped at the next frame (because the attack condition is true).

    Attachments:
    You must be logged in to view attached files.
    #15120

    carlwang
    Participant

    I also have the same issue that Parallel resetting running nodes. @dungdajhjep‘s version is what I want. Hope it will be official in next release.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.