IsEnemyEntityName
Description
Returns if the given NPC class name is an enemy. Returns true if the entity name is one of the following:
monster_alien_gruntmonster_nihilanthmonster_tentaclemonster_alien_slavemonster_bigmommamonster_bullchickenmonster_gargantuamonster_human_assassinmonster_babycrabmonster_human_gruntmonster_cockroachmonster_houndeyemonster_zombiemonster_headcrabmonster_alien_controllermonster_turretmonster_miniturretmonster_sentrynpc_antlionnpc_antlionguardnpc_antlionguardiannpc_barnaclenpc_breennpc_clawscannernpc_combine_snpc_cscannernpc_fastzombienpc_fastzombie_torsonpc_headcrabnpc_headcrab_fastnpc_headcrab_poisonnpc_hunternpc_metropolicenpc_manhacknpc_poisonzombienpc_stridernpc_stalkernpc_zombienpc_zombie_torsonpc_zombinenpc_combine_cameranpc_turret_ceilingnpc_combinedropshipnpc_combinegunshipnpc_helicopternpc_turret_floornpc_antlion_workernpc_headcrab_black
Arguments
Returns
Page views: 13,618
Updated: This Year
Updated: This Year
Garry's Mod
Rust
Steamworks
Wiki Help