Garry's Mod Wiki

NPC:SetIdealActivity

NPC:SetIdealActivity( number )

Just Added

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

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.

Page Links


Special Pages


Wikis

?

Render Time: 73ms

DB GetPage 48
Generate Html 3
SaveChanges (1) 14
Render Body 0
Render Sidebar 6