NumPawnsAllowedToBeSpawnedInAFrame
NumPawnsAllowedToBeSpawnedInAFrame
#Overview
name: NumPawnsAllowedToBeSpawnedInAFrame
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:316, section: [/Script/Engine.Engine]
- INI Section:
/Script/Engine.Engine
- Raw value:
2
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h:1551
Scope (from outer to inner):
file
class class UEngine : public UObject , public FExec
Source code excerpt:
/** If bCheckForMultiplePawnsSpawnedInAFrame==true, then we will check to see that no more than this number of pawns are spawned in a frame. **/
UPROPERTY(config)
int32 NumPawnsAllowedToBeSpawnedInAFrame;
/**
* Whether or not the LQ lightmaps should be generated during lighting rebuilds. This has been moved to r.SupportLowQualityLightmaps.
*/
UPROPERTY(globalconfig)
uint32 bShouldGenerateLowQualityLightmaps_DEPRECATED :1;
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/LevelTick.cpp:1734
Scope (from outer to inner):
file
function void UWorld::Tick
Source code excerpt:
}
if( IsGameWorld() && GAreScreenMessagesEnabled && ThisFramePawnSpawns.Num() > GEngine->NumPawnsAllowedToBeSpawnedInAFrame )
{
GEngine->AddOnScreenDebugMessage((uint64)((PTRINT)this), 5.f, FColor::Red, *WarningMessage);
for(int32 i=0; i<ThisFramePawnSpawns.Num(); i++)
{
GEngine->AddOnScreenDebugMessage((uint64)((PTRINT)+i), 5.f, FColor::Red, *ThisFramePawnSpawns[i]);