I want my AI character to move randomly i tired using this node setup shown below.
but using this method in AIController making it run on the highest priority… all other tasks in my behavior trees are not kicking in.
Is there any way to implement this method in behavior tree task. so i can run this on some conditions??
Basically, my AI character will be moving randomly only if some conditions will be true for it!!
The way to achieve what you describe with Behavior Trees would be to implement a BT Service that would put random locations to a blackboard entry, and then have a BT move task go to that BB entry. Alternatively you could have a BT task that puts random locations in to a BB entry, and use that in sequence with the move task - find location then move.
btw i’m not sure if i can ask a question which is not completely related to the question i posted…
but actually my AI character as soon as it sees me…it starts following me… problem is that it follows me even after i ran out of NAV MESH… and stucks should this happen?
or do i need to make some condition like dont go out of the nav mesh??