Yeah, you can set it up in a minute in Playmaker. You can find closest by name, tag, whatever you want. When it dies, it can either send an event to the ai system to search the next closest, or the AI itself can test if the target is present every frame then go on to the next one when it doesn't detect it anymore.