So, I've had this problem for a while. Basically in scripts, if my NPC's aren't duplicates it's impossible for me to do: If everyone's dead, then run this. This is because what ends up happening is that I do:
begin OnDeath
If (Thisactor.GetDead == 1 && Thisotheractor.Getdead == 1)
run this command
EndiF
End
What ends up happening is that the script checks if everyone's dead after I kill the actor with this script and if they're not, nothing happens. So I'm forced to make the command run only once one actor is dead, which is...not what I want. I was wondering if anyone knew how to do it like in the Hoover Dam Battle where the script checked if all of General Oliver's soldiers are dead as well as General Oliver before ending the game.