Garry's Mod Wiki

NPC_STATE

Description

Enumerations used by NPC:SetNPCState. Serverside only.

Values

NPC_STATE_INVALID-1Invalid state
NPC_STATE_NONE0NPC default state
NPC_STATE_IDLE1NPC is idle
NPC_STATE_ALERT2NPC is alert and searching for enemies
NPC_STATE_COMBAT3NPC is in combat
NPC_STATE_SCRIPT4NPC is executing scripted sequence
NPC_STATE_PLAYDEAD5NPC is playing dead (used for expressions)
NPC_STATE_PRONE6NPC is prone to death
NPC_STATE_DEAD7NPC is dead