Killing Floor:Known Issues & Bugs

From Tripwire Interactive Wiki
Revision as of 13:25, 2 October 2012 by Benjamin (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

ZombieVolume bTryAllSpawns bug (version 1039)

ZombieVolume, line 149:

if( bTryAllSpawns )
{
	// Try spawning in all the points
	NumTries = SpawnPos.Length;
}
else
{
	// Try spawning 3 times in 3 dif points.
	NumTries = 3;
}


for( j=0; j<NumTries; j++ )
{
	TrySpawnPoint = SpawnPos[Rand(SpawnPos.Length)];


This code picks from a random spawn point each time, but doesn't exclude already-tried ones. It means it may waste attempts, and the 'bTryAllSpawns' flag will not work.