Garry's Mod Wiki

Task:InitFunctionName

void Task:InitFunctionName( string startname, string runname, number taskdata )

Description

Initialises the AI task as NPC method-based.

Arguments

1 string startname
The name of the NPC method to call on task start.
2 string runname
The name of the NPC method to call on task run.
3 number taskdata

Page Links


Special Pages


Wikis

?

Render Time: 33ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 14
Render Body 0
Render Sidebar 12