Garry's Mod Wiki

NPC:SetIdealActivity

  NPC:SetIdealActivity( number )

Description

Sets the ideal activity the NPC currently wants to achieve. This is most useful for custom SNPCs.

Arguments

1 number
The ideal activity to set. Enums/ACT.