Garry's Mod Wiki

NPC:SetActivity

NPC:SetActivity( number act )

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.

Description

Sets the NPC's current activity.

Arguments

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

Page Links


Special Pages


Wikis

?

Render Time: 60ms

DB GetPage 39
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 7