Garry's Mod Wiki

Garry's Mod Wiki

Description

Enumerations used by NPC:Classify.

Values

CLASS_NONE0None - default class for entities.
CLASS_PLAYER1Players
CLASS_PLAYER_ALLY2HL2 - Allies
- monster_barney
- npc_citizen
- npc_manhack ( Hacked )
- npc_turret_floor ( Friendly )
CLASS_PLAYER_ALLY_VITAL3HL2 - Vital Allies
- npc_magnusson
- npc_gman
- npc_fisherman
- npc_eli
- npc_barney
- npc_kleiner
- npc_mossman
- npc_alyx
- npc_monk
- npc_dog
- npc_vortigaunt at the end of EP2 (controlled by MakeGameEndAlly input)
CLASS_ANTLION4HL2 - Antlions
- npc_antlion
- npc_antlionguard
- npc_antlionguard
CLASS_BARNACLE5HL2 - Barnacles
- npc_barnacle
CLASS_BULLSEYE6HL2 - Bullseyes
- npc_bullseye
CLASS_CITIZEN_PASSIVE7HL2 - Passive / Non-Rebel Citizens
- npc_citizen in the beginning of HL2.
CLASS_CITIZEN_REBEL8HL2 - unused
CLASS_COMBINE9HL2 - Combine Troops
- npc_combine
- npc_advisor
- apc_missile
- npc_apcdriver
- npc_turret_floor ( Hostile )
- npc_rollermine ( Hostile )
- npc_turret_ground ( Active )
- npc_turret_ceiling ( Active )
- npc_strider ( Active - Not being carried by the gunship )
CLASS_COMBINE_GUNSHIP10HL2 - Combine Aircrafts
- npc_combinegunship
- npc_combinedropship - npc_helicopter
CLASS_CONSCRIPT11HL2 - unused
CLASS_HEADCRAB12HL2 - Headcrabs
- npc_headcrab ( Visible )
CLASS_MANHACK13HL2 - Manhacks
- npc_manhack ( Hostile - Not held by the gravity gun )
CLASS_METROPOLICE14HL2 - Metro Police
- npc_metropolice
- npc_vehicledriver
CLASS_MILITARY15HL2 - Combine Military Objects
- func_guntarget
- npc_spotlight
- npc_combine_camera ( Active )
CLASS_SCANNER16HL2 - Combine Scanners
- npc_cscanner
- npc_clawscanner
CLASS_STALKER17HL2 - Stalkers
- npc_stalker
CLASS_VORTIGAUNT18HL2 - Vortigaunts
- npc_vortigaunt before the end of EP2 ( Controlled by MakeGameEndAlly input )
CLASS_ZOMBIE19HL2 - Zombies
- npc_zombie ( Unslumped )
- npc_poisonzombie
- npc_fastzombie
- npc_fastzombie_torso
- npc_zombine
CLASS_PROTOSNIPER20HL2 - Snipers
- npc_sniper
- proto_sniper
CLASS_MISSILE21HL2 - Missiles
- rpg_missile
- apc_missile
- grenade_pathfollower
CLASS_FLARE22HL2 - Flares
- env_flare
CLASS_EARTH_FAUNA23HL2 - Animals
- npc_crow
- npc_seagull
- npc_pigeon
CLASS_HACKED_ROLLERMINE24HL2 - Friendly Rollermines
- npc_rollermine ( Hacked )
CLASS_COMBINE_HUNTER25HL2 - Hunters
- npc_hunter
CLASS_MACHINE26HL:S - Turrets
- monster_turret
- monster_miniturret
- monster_sentry
CLASS_HUMAN_PASSIVE27HL:S - Friendly Humans
- monster_scientist
CLASS_HUMAN_MILITARY28HL:S - Human Military
- monster_human_grunt
- monster_apache
CLASS_ALIEN_MILITARY29HL:S - Alien Military
- monster_alien_controller
- monster_vortigaunt
- monster_alien_grunt
- monster_nihilanth
- monster_snark if it has an enemy of class
CLASS_PLAYER , CLASS_HUMAN_PASSIVE or CLASS_HUMAN_MILITARY
CLASS_ALIEN_MONSTER30HL:S - Monsters
- monster_tentacle
- monster_barnacle
- monster_zombie
- monster_gargantua
- monster_houndeye
- monster_ichthyosaur
- monster_bigmomma
CLASS_ALIEN_PREY31HL:S - Headcrabs
- monster_headcrab
CLASS_ALIEN_PREDATOR32HL:S - Alien Predators
- monster_bullsquid
- xen_tree
- xen_hull
CLASS_INSECT33HL:S - Insects
- montser_roach
- monster_leech
CLASS_PLAYER_BIOWEAPON34HL:S - Player Bioweapons
- hornet fired by a player
CLASS_ALIEN_BIOWEAPON35HL:S - Enemy Bioweapons
- hornet fired by anyone but a player
- monster_snark with no enemy or an enemy without the class
CLASS_PLAYER , CLASS_HUMAN_PASSIVE or CLASS_HUMAN_MILITARY
CLASS_PORTAL_TURRET36Portal - Portal rocket and normal turrets, and the camera
  • npc_portal_turret_floor
  • npc_rocket_turret
  • npc_security_camera

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...