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

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

#12495
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.

OptionalDecorator

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

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