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 Enums/NPC_STATE