Reply To: "Follow target" behavior with some restrictions.

Forums 💬 NodeCanvas ⚙️ Support "Follow target" behavior with some restrictions. Reply To: "Follow target" behavior with some restrictions.

#17751
Gavalakis
Keymaster

    Hello again,

    If you simply want to introduce a delay after the Seek action has timed out, you can use the Wait action.
    For this tree to work correctly though, we also need to add the “Optional” decorator above the Timeout, because the Timeout decorator will return Failure when the Timeout has come to pass, but for the Sequencer to continue to the next action, we need to return Success to it.
    As such, we use the “Optional” decorator here, so that we disregard whether the Timeout returns Failure (which is by default) or Success and enforce the Sequencer to continue in either case.

    [attachment file=”OptionalDecorator.png”]

    Please let me know if that works for you, or if you need any further clarification or questions.
    Thanks 🙂