Download

Can 2 AI chase each other in UE4 ?

hi

I’m trying to figure out if 2 AI can chase it each other if this is possible is they any documentation or code on this

Hi, sure its possible =)

If you follow through this here you will get an AI that chases the player Behavior Tree Quick Start Guide | Unreal Engine Documentation

Since you want it to also chase other AI and not only the player, you need to change step 6 (you can keep the rest). In step 6 there is a check whether the perceived actor has the tag “Player”, so that it only reacts to perceived actors that have a “Player” tag. So you can either add a “Player” tag to all your AIs (wouldn’t do that) or just remove the check, so that it reacts to any actor it perceives.