try this
Code:
if (temp_defender == player1) 
{  var idx;   
   for(idx=0; idx<6; idx++)   
      temp_defender[idx]=player1_stats[idx];   //or other way round
}

should do the job


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial