Is it possible to give dynamic acceptable radius to Move to in AI behavior tree?

arbaros
Thu, 07 Jul 2022 16:29:20 +0000
AI

I have created a basic AI that seeks the player, gets in range then attacks. But I want to add variables for making ranged attacks as well. however, I noticed that since the acceptable radius of the AI is 100 when it is in chase mode, the ranged attacks are not executed.

My question, is it possible to make this component of the “Move To” node somehow dynamic so it can randomly change to say 1500 if it fails to catch the player after a specific amount of time has passed?

The player seeking set up

Melee attack set up

Ranged attack set up

AI blueprint

5 posts - 4 participants