NPC_STATE Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by NPC:SetNPCState. Serverside only.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
NPC_STATE_INVALID -1 Invalid state
NPC_STATE_NONE 0 NPC default state
NPC_STATE_IDLE 1 NPC is idle
NPC_STATE_ALERT 2 NPC is alert and searching for enemies
NPC_STATE_COMBAT 3 NPC is in combat
NPC_STATE_SCRIPT 4 NPC is executing scripted sequence
NPC_STATE_PLAYDEAD 5 NPC is playing dead (used for expressions)
NPC_STATE_PRONE 6 NPC is prone to death
NPC_STATE_DEAD 7 NPC is dead
Personal tools
Navigation