Killing Floor:Known Issues & Bugs: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==ZombieVolume ''bTryAllSpawns'' bug== ZombieVolume, line 149: <blockquote><pre>if( bTryAllSpawns ) { // Try spawning in all the points NumTries = SpawnPos.Length; } else ...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
==ZombieVolume ''bTryAllSpawns'' bug== | ==ZombieVolume ''bTryAllSpawns'' bug (version 1039)== | ||
ZombieVolume, line 149: | ZombieVolume, line 149: |
Revision as of 13:25, 2 October 2012
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.