Hi,
I've made my own tasks and I have my first working Turret AI but I feel I'm missing some important understanding of how things work in Behavior Designer (I also watched all the tutorials). Specifically I have problems with tasks returnning TaskStatus.Running while they are working. If I have a Sequence with several tasks and one of the tasks returns Running for a while, all the other tasks are waiting, nothing gets executed until the Running task finishes. How to get over this the proper way?
I think I would need something like the Selector Evaluator but for Sequences. I can write one for myself but I have a strong suspicion that I'm missing a point here because my case is nothing special and should be able to make it work with the combination of basic tasks.
So, again, with different wording: the problem is that when I have a sequence where I need ALL the tasks to run in every tick when the sequence is evaluated, a task which returns TaskStatus.Running ruins everything (the other tasks won't run until this one finishes). How can I make this work, what is the proper way of doing this?
I've made my own tasks and I have my first working Turret AI but I feel I'm missing some important understanding of how things work in Behavior Designer (I also watched all the tutorials). Specifically I have problems with tasks returnning TaskStatus.Running while they are working. If I have a Sequence with several tasks and one of the tasks returns Running for a while, all the other tasks are waiting, nothing gets executed until the Running task finishes. How to get over this the proper way?
I think I would need something like the Selector Evaluator but for Sequences. I can write one for myself but I have a strong suspicion that I'm missing a point here because my case is nothing special and should be able to make it work with the combination of basic tasks.
So, again, with different wording: the problem is that when I have a sequence where I need ALL the tasks to run in every tick when the sequence is evaluated, a task which returns TaskStatus.Running ruins everything (the other tasks won't run until this one finishes). How can I make this work, what is the proper way of doing this?