This should create 12 lynx, nicely lined up.
(x,y) is the player starting location:
int i;
Unit u;
for (i=0; i<12; ++i)
{
TethysGame::CreateUnit(u,mapLynx,LOCATION(x+i,y),playernum,mapMicrowave,0);
}
Oh hey, I misread this the first time I saw it. Use TethysGame::InititalUnits() to find out how many you should create.
Stealing Eddy's code example above, you can try something like this:
int i;
Unit u;
for (i=0; i<TethysGame::InitialUnits(); ++i)
{
TethysGame::CreateUnit(u,mapLynx,LOCATION(x+i,y),playernum,mapMicrowave,0);
}