Download

AI and Blueprints

I’m trying to connect a spotlight and an AI Guard. They both detect the player(ai uses pawn sensing and the spotlight uses the overlap for the viewconr), the guard moves towards the player when the player is detected. Is there a way to connect the two and make the guard go towards the player when the spotlight detects him

You will want to cast to your guard AI and give him set his variables to move there exactly the same way you would on his current 1. Just setup your spotlight to set your “character found” variable on the guard instead of itself.