Thanks for the help, the death thing would work. problem is I want to separate the group into an irregular sequence, such as red team 3,6,8,9 and blue team 1,2,4,5,7,.
The ideal solution would be to tell the unit to pick the next highest number in his team, and fallow him. Just have no idea how to tell him to do that(if it�s even possible)
i might try making a different object to represent each team. mabie an array of some kind.
If you had ever played cannon fodder it�d be easier to explain. But it was kind of an unknown game.