KF2-ZedSpawner/ZedSpawner/Classes/KFGI_Access.uc

18 lines
401 B
Ucode
Raw Normal View History

2022-05-13 07:02:34 +00:00
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
{
}