number. This was inspired by a couple of functions in the TWT_Zombies code that GoPostal released
with his excellent DM-ATypicalMall map.
The code builds a list of possible spawnpoints for the pawns like this:
Code: Select all
for (N = Level.NavigationPointList; N != NONE; N = N.NextNavigationPoint)
{
if ((N.IsA('PathNode') || N.IsA('SpawnPoint')) && !N.Region.Zone.bWaterZone)
{
if (NavNodeCount <= 5000)
{
PNodes[NavNodeCount] = N;
NavNodeCount++;
}
N.bPlayerOnly = False;
}
}
after the above code executes. Don't recall ever seeing it get over 1000, or even close to it during testing.
(In any gametype, any map, even huge SP maps....)
I want to have the maximum set a bit above whatever the maximum number that would be expected, but hate
to leave it as is, if the array is being defined at 5-10x the size it needs to be....
Anybody got any idea or educated guess on what that value might be? (Mr.Loathsome is not a mapper...... )