cool snippet 
CreateUnitsInLine
not ratedCreates units in a line from (X1,Y1) to (X2,Y2), where Density specifies how close the units must be placed to each other.
typeId and who specifies the type of unit, and which player to create them for.
typeId and who specifies the type of unit, and which player to create them for.