DarkZK
(DarkZK)
August 28, 2020, 9:59am
1
Hi,
I am trying to abort my AI move to Task with a random time.
I am using simple parallel with a wait task( for this random time), I want to abort move task when my wait task is finished.
Right now is not working, and this wait task makes my AI skip certain point of my path.
How can I do this?
From what you show, it should work as expected. Are you setting a new destination and executing again the parallel node, once the wait is over?
Okarii
(Okarii)
August 28, 2020, 8:07pm
3
To be clear, are you attempting to make your ai follow a spline, or something and have it stop randomly during this patrol before continuing on?
DarkZK
(DarkZK)
August 29, 2020, 9:13am
4
This is how my BT looks like
DarkZK
(DarkZK)
August 29, 2020, 9:03am
5
Yes, I’m updating my path point and then my AI executes an attack, after this attack should go back to this move to state.
DarkZK
(DarkZK)
August 29, 2020, 9:05am
6
My Ai follows a patrol path I made with certain points on the scene, It was working good, but when I add this logic sometimes doesn’t work as intended.
Right now is not working
What exactly do you mean with that? It only finishes when it reaches its target?
and this wait task makes my AI skip certain point of my path.
What point exactly? The one you were going to before wait ended?