Preferably in a region of some sort, because mine is EXTREMELY GLITCHY... It made my testers happy though. Mine consist of a trigger that checks if an integer is "Number of Units" Are dead.
Put your "specific Units" in a unit group.
Count the number of the units in the unit group whenever you need to check it.
Dead units in a unit group are only the ones that have a death timer set which is running. Else all references to that unit vanish after it dies and got removed from memory. So you don't need to delete them from unit group by yourself.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Preferably in a region of some sort, because mine is EXTREMELY GLITCHY... It made my testers happy though. Mine consist of a trigger that checks if an integer is "Number of Units" Are dead.
Put your "specific Units" in a unit group.
Count the number of the units in the unit group whenever you need to check it.
Dead units in a unit group are only the ones that have a death timer set which is running. Else all references to that unit vanish after it dies and got removed from memory. So you don't need to delete them from unit group by yourself.