KF2-ZedSpawner/ZedSpawner/Classes/KFGI_Access.uc
2022-05-13 10:20:30 +03:00

18 lines
401 B
Ucode

class KFGI_Access extends Object
within KFGameInfo_Survival;
// Bypass protected modifier for these lists
function bool IsCustomZed(class<KFPawn_Monster> KFPM)
{
if (AIClassList.Find(KFPM) != INDEX_NONE) return false;
if (NonSpawnAIClassList.Find(KFPM) != INDEX_NONE) return false;
if (AIBossClassList.Find(KFPM) != INDEX_NONE) return false;
return true;
}
defaultproperties
{
}