//global.units = 5; global.units = [[],[],[]]; enum ARMY { US, THEM, GREEN, } //exit; function unit(personaldata_, classdata_, stats_) constructor { name = personaldata_.name; idle = personaldata_.idle; up = personaldata_.up; down = personaldata_.down; aitype = personaldata_.aitype; alignment = noone; var i; for (i=0; i