What is faster:
1) have a lot of bots with actions
Code:
action Bot()
{
 while(1)
 {
  ControlHpPanelPos();
  wait(1);
 }
}


2) to have one function, that would runs through all bots and control position of their Hp panels?
Code:
void ControlBotsHpPanels()
{
 ENTITY* FirstTeam[20];
 ENTITY* SecondTeam[20];

 while(1)
 {
  if (NowTeam == 1)
  {
   RunThroughFirstTeamPlayersAndControlTheirHpPanels();
  }
  else
  {
   RunThroughSecondTeamPlayersAndControlTheirHpPanels();
  }
  wait(1);
 }
}




1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro