Garry's Mod Wiki

Revision Difference

Enums/CLASS#514558

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>NPC:Classify</page>.</description>⤶ <fields>{{EnumField|CLASS_NONE|0|None - default class for entities.</fields>⤶ ⤶ </enumeration>⤶ ⤶ {{EnumField|CLASS_PLAYER|1|Players.}}{{EnumField|CLASS_PLAYER_ALLY|2|HL2 player allies - monster_barney, npc_citizen, hacked npc_manhack, and friendly npc_turret_floor.}}{{EnumField|CLASS_PLAYER_ALLY_VITAL|3|HL2 vital player allies - npc_magnusson, npc_gman, npc_fisherman, npc_eli, npc_barney, npc_kleiner, npc_mossman, npc_alyx, npc_monk, npc_dog, and npc_vortigaunt at the end of EP2 (controlled by "MakeGameEndAlly" input).}}{{EnumField|CLASS_ANTLION|4|HL2 antlions - npc_antlion, npc_antlionguard, and npc_ichthyosaur.}}{{EnumField|CLASS_BARNACLE|5|HL2 barnacles - npc_barnacle.}}{{EnumField|CLASS_BULLSEYE|6|HL2 bullseyes - npc_bullseye.}}{{EnumField|CLASS_CITIZEN_PASSIVE|7|HL2 passive/non-rebel citizens - npc_citizen in the beginning of HL2.}}{{EnumField|CLASS_CITIZEN_REBEL|8|HL2 unused.}}{{EnumField|CLASS_COMBINE|9|HL2 combine troops - npc_combine, npc_advisor, apc_missile, npc_apcdriver, hostile npc_turret_floor, hostile npc_rollermine, npc_turret_ground when active, npc_turret_ceiling when active, and npc_strider when active (not being carried by the gunship).}}{{EnumField|CLASS_COMBINE_GUNSHIP|10|HL2 combine aircrafts - npc_combinegunship, npc_combinedropship, and npc_helicopter.}}{{EnumField|CLASS_CONSCRIPT|11|HL2 unused.}}{{EnumField|CLASS_HEADCRAB|12|HL2 headcrabs - visible npc_headcrab.}}{{EnumField|CLASS_MANHACK|13|HL2 manhacks - hostile npc_manhack not held by the gravity gun.}}{{EnumField|CLASS_METROPOLICE|14|HL2 metro police - npc_metropolice and npc_vehicledriver.}}{{EnumField|CLASS_MILITARY|15|HL2 combine military objects - func_guntarget, npc_spotlight, and active npc_combine_camera.}}{{EnumField|CLASS_SCANNER|16|HL2 combine scanners - npc_cscanner and npc_clawscanner.}}{{EnumField|CLASS_STALKER|17|HL2 stalkers - npc_stalker.}}{{EnumField|CLASS_VORTIGAUNT|18|HL2 vortigaunts - npc_vortigaunt before the end of EP2 (controlled by "MakeGameEndAlly" input).}}{{EnumField|CLASS_ZOMBIE|19|HL2 zombies - unslumped npc_zombie, npc_poisonzombie, npc_fastzombie, npc_fastzombie_torso, and npc_zombine.}}{{EnumField|CLASS_PROTOSNIPER|20|HL2 snipers - npc_sniper and proto_sniper.}}{{EnumField|CLASS_MISSILE|21|HL2 missiles - rpg_missile, apc_missile, and grenade_pathfollower.}}{{EnumField|CLASS_FLARE|22|HL2 flares - env_flare.}}{{EnumField|CLASS_EARTH_FAUNA|23|HL2 animals - npc_crow, npc_seagull, and npc_pigeon.}}{{EnumField|CLASS_HACKED_ROLLERMINE|24|HL2 friendly rollermines - hacked npc_rollermine.}}{{EnumField|CLASS_COMBINE_HUNTER|25|HL2 hunters - npc_hunter.}}{{EnumField|CLASS_MACHINE|26|HL:S turrets - monster_turret, monster_miniturret, monster_sentry.}}{{EnumField|CLASS_HUMAN_PASSIVE|27|HL:S friendly humans - monster_scientist.}}{{EnumField|CLASS_HUMAN_MILITARY|28|HL:S human military - monster_human_grunt and monster_apache.}}{{EnumField|CLASS_ALIEN_MILITARY|29|HL:S alien military - monster_alien_controller, monster_vortigaunt, monster_alien_grunt, monster_nihilanth, and monster_snark if it has an enemy of class CLASS_PLAYER, CLASS_HUMAN_PASSIVE, or CLASS_HUMAN_MILITARY.}}{{EnumField|CLASS_ALIEN_MONSTER|30|HL:S monsters - monster_tentacle, monster_barnacle, monster_zombie, monster_gargantua, monster_houndeye, monster_ichthyosaur, and monster_bigmomma.}}{{EnumField|CLASS_ALIEN_PREY|31|HL:S headcrabs - monster_headcrab.}}{{EnumField|CLASS_ALIEN_PREDATOR|32|HL:S alien predators - monster_bullsquid, xen_tree, and xen_hull.}}{{EnumField|CLASS_INSECT|33|HL:S insects - montser_roach and monster_leech.}}{{EnumField|CLASS_PLAYER_BIOWEAPON|34|HL:S player bioweapons - hornet fired by a player.}}{{EnumField|CLASS_ALIEN_BIOWEAPON|35|HL:S enemy bioweapons - hornet fired by anyone but a player, or monster_snark with no enemy or an enemy without the class CLASS_PLAYER, CLASS_HUMAN_PASSIVE, or CLASS_HUMAN_MILITARY.}}⤶ }}