Well that's complicated
But I've got an idea how to do this:
;Artificial Intelligence Script
;Header
desc = enemy in zone then lose
;Triggers
:state=0,anywithinzone=0:state=0
:state=0,anywithinzone=1:state=1
:state=1:plraddhealth=-999,state=2
:state=2:destroy
;End of Script
Description: If ANY entity is in the triggerzone you give this script to, then the player automatically dies...
(not sure if the player dies when he walks throw the zone himself)
Set this script as the main script of a triggerzone where your enemies don't have to pass. If you defend them all without anyone passing throw this door, you'll survive.
Use this maybe for such a level:
Hope that helped
All the free PCF Productions Stuff