I'm having some trouble understanding why only part of my action sequence is working on all instances but the rest of it is not.
<img src="http://i.imgur.com/Xs0J8E2.png" border="0" />
Enemies randomly spawn on one side of the screen and the player can spawn his soldiers on the other via mouse click. Players/Enemies move towards each other and stop when they overlap, inducing the attack sequence show in the image for each Player instance, which continues until one of them has their Health reduced to <= 0. The remaining soldier then continues on.
I've run this in the debugger, and instances of Player and Enemy are having their instance variable Health subtracted from simultaneously. I paused the debugger and checked the Health of multiple Player/Enemy pairings that were overlapping at the same time and found they all had reduced Health.
However, the pair of text boxes (textAttack) I'm trying trying to generate above each Player/Enemy instance after they lose Health is only being created on one Player/Enemy pairing at a time.