Garry's Mod Wiki

NPC:SetNPCState

  NPC:SetNPCState( number state )

Description

Sets the state the NPC is in to help it decide on a ideal schedule.

Arguments

1 number state
New NPC state, see NPC_STATE enum