Garry's Mod Wiki

NPC:StartEngineTask

NPC:StartEngineTask( number task, number taskData )

Description

Forces the NPC to start an engine task, this has different results for every NPC.

Arguments

1 number task
The id of the task to start, see ai_task.h
2 number taskData
The task data as a float, not all tasks make use of it.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

Session 0
DB GetPage 4
Generate Html 3
SaveChanges 8
Render Body 0
Render Sidebar 5