My objective is to have a door locked until all enemies and their spawn points are destroyed. I am using a "Pick by comparison" then "PickedCount" to count all enemies that have health greater than 0.
This is being done for 2 different sprites; comparing to an enemies health and their spawn points health. The spawn point plays a destroyed animation that stays on screen, so it isn't destroyed when health is goes to 0, but the enemies are destroyed. The count seems to work for the destroyed enemies, but not for the spawn points. I do plan on making a dead enemy animation rather then destroy in the future as well. Any thoughts as to why the counts aren't working would be greatly appreciated. Thank you.