I think the easiest way is to give the enemies a special to activates a script when they die. Maybe use ACS_ExecuteAlways in case two enemies die simultaneously. The script should add 1 to a variable to keep track of how many have died, like:
Alternatively, you can have a script count how many enemies with a specific TID are left with ThingCount.
Code:
int deadguys; //(number of enemies that have been killed)script 1 (void){ deadguys++; if (deadguys>=4) { // (If 4 or more enemies have been killed, lower the floor) Floor_LowerByValue (etc) }}
Statistics: Posted by Heisanevilgenius — Wed Apr 16, 2025 7:20 pm