Reply To: Modifying NodeCanvas?

NodeCanvas Forums Support Modifying NodeCanvas? Reply To: Modifying NodeCanvas?

#10626
Gavalakis
Keymaster

Hello!

Thanks for the detailed info and sorry for the late reply.
If I understood the issue correctly down to it’s core, the problem is that you want to control the timing for a transition to happen, rather than taking place immediately. So basicaly something like a time based condition.

Here is a Timeout ConditionTask. Basicaly, what it does, is that it only returns true after a period of time has passed while it is checked.
You could use this Timeout condition along with some other conditions within a ConditionList on the transition, which is set to “ALL TRUE”.

As such, the transition will take place only when all the conditions are true, including that the Timeout time has also come to pass.

Then as far as setting the timer, it can be done so through it’s parent state by setting a Blackboard Float Variable, and setting the Timeout condition ‘timeout’ BBParameter to read from that float variable.

Please let me know if that works for you, or maybe I completely misunderstood the actual issue 🙂
Thanks!

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