I figured as it is kind of dry around here, I'd post an example I made for SolarB over on the clickteam forums.
It shows how to trigger events when an entire wave of enemies have been destroyed, even when there are still different instances of the same enemy objects on screen, without using loops or extensions.