I'm not trying to do anything in particular with this code example, I'm just trying to understand how C3 executes events/actions in general. I was expecting event 3 to work like this:
for each enemy whose health is > 0
1. increment enemyKillCount by 1 (would be executed 15 times)
2. set that enemy's health to 0 (would be executed 15 times)
But instead it seems to me that C3 is evaluating/executing event 3 like this:
if there is at least one enemy whose health is > 0
1. increment enemyKillCount by 1 (would be executed 1 time)
2. for each enemy whose health is > 0, set their health to 0 (would be executed 15 times)
Is my understanding correct here?