<P>
<P>	direction = ViewRotation;
<P>	direction.pitch = 0;
<P>	direction.roll  = 0;
<P>	center = Location + Vector(direction)*(maxRange+SpawnClass.Default.CollisionRadius+CollisionRadius+20);
<P>	while ((count %LT% totalCount) && (numTries %LT% maxTries))
<P>	{
<P>		angle = FRand()*3.14159265359*2;
<P>		range = sqrt(FRand())*maxRange;
<P>		spawnPos.X = sin(angle)*range;
<P>		spawnPos.Y = cos(angle)*range;
<P>		spawnPos.Z = 0;
<P>		spawnee = spawn(SpawnClass,,,center+spawnPos, Rotation);
<P>		if (spawnee != None)
<P>			count++;
<P>		numTries++;
<P>	}
<P>
<P>	ClientMessage(count$" actor(s) spawned");
<P>
<P>}
<P>
<P>
<P>//purely for debugging other stuff////////////////////////////
<P>exec function settag(name t)
<P>{
