Garry's Mod Wiki

Revision Difference

Enums/NPC_STATE#515013

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>NPC:SetNPCState</page>. Serverside only.</description>⤶ <fields>{{EnumField|NPC_STATE_INVALID|-1|Invalid state</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|NPC_STATE_NONE|0|NPC default state}}⤶ {{EnumField|NPC_STATE_IDLE|1|NPC is idle}}⤶ {{EnumField|NPC_STATE_ALERT|2|NPC is alert and searching for enemies}}⤶ {{EnumField|NPC_STATE_COMBAT|3|NPC is in combat}}⤶ {{EnumField|NPC_STATE_SCRIPT|4|NPC is executing scripted sequence}}⤶ {{EnumField|NPC_STATE_PLAYDEAD|5|NPC is playing dead (used for expressions)}}⤶ {{EnumField|NPC_STATE_PRONE|6|NPC is prone to death}}⤶ {{EnumField|NPC_STATE_DEAD|7|NPC is dead}}⤶ }}