To give our pawn the most up-to-date information, we need to create an event that will catch and respond to the sensory update events from the AI Perception component. We will establish this by creating a new event that is solely responsible for processing detected pawns. Here are the steps:
Detected Enemies. We have to also create a new actor array parameter named
Detected Actorsto hold the array of Updated Actors.