Is there a way to make ai sense other ai?

ViceVersa
Thu, 17 Mar 2016 18:50:18 +0000
AI

so im working on an rts game, i have one ai character that stands still until it sees one of the characters the player is controlling. The player controller is in a blueprint that controls the camera, while all of the characters that you click and move have ai controllers on them. Whenever my camera blueprint goes in front of the enemy character, the Cast Failed from the on pawn sense node goes off, which is what i would expect. But whenever Any of the other characters that you click and move go in front of it, nothing happens, not even the cast failed. The pawn sensing component seems to ignore those characters completely. Im assuming the way this node works is it detects characters with a controller blueprint on them, but does not see characters with ai controllers on them. So does anybody know, is there a way i can use the ai pawn sensing node to detect other ai characters?

2 posts - 1 participant