Garry's Mod Wiki

Revision Difference

NPC:SetNPCState#517647

<function name="SetNPCState" parent="NPC" type="classfunc"> <description>Sets the state the NPC is in to help it decide on a ideal schedule.</description> <realm>Server</realm> <args> <arg name="state" type="number">New NPC state, see &lt;page&gt;NPC_STATE&lt;/page&gt;</arg>⤶ <arg name="state" type="number">New NPC state, see <page>NPC_STATE</page></arg>⤶ </args> </function>