Garry's Mod Wiki

NPC:SetActivity

  NPC:SetActivity( number act )

Description

Sets the NPC's current activity.

Arguments

1 number act
The new activity to set, see ACT enum.