I prefer the
online version of the comref.
Not sure exactly what you got your wrist slapped for ... but if it's "clear the base" and it's a nightmare to end the mission because you have to find that last remaining enemy soldier hiding under a bush outside the base, there are several things you can do.
For example, create a trigger larger than your ending trigger. West (or whoever is the enemy) present.
Condition: count thislist <= 3
On Activation: "_x allowFleeing 1" forEach thislist
When you get down to the last 3 enemy, they will all run away which makes the easier to shoot. And if even if you don't shoot them, they will keep running till they are out of the area.
A variation:
On activation: "_x allowFleeing 0" forEach thislist; "_x doMove getPos player" forEach thislist
You can make up pretty much anything you like. Use several "layers", so something happens when you get down to 8 remaining enemy and then something else happens when you get down to 4.