Hi I have got quite far with my ai, it shoots, reloads, guards points, hears noises, chases, can detect line of sight and move into sight when player is hiding, look for player when loses sight but theres one thing that’s annoying me when I kill the enemy there is no way to disable or destroy the pawn sensing component.
The only way I found that works is to set the see and hear bools to false. Except when I do this using get all actors of class It does it for every spawned actor that uses the pawn sensing component. How would I go about doing it for each individual spawned enemy? So the ones that are still alive have senses.