Garry's Mod Wiki

History for NPC_STATE

Revision Difference


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

Special Pages



Render Time: 17ms

DB GetPage 2
Get RevNew 2
Get RevOld 3
Render Body 0
Render Sidebar 8