ENT.StartTask
From GMod Wiki
Event Hook | |
Hook Name | StartTask |
Syntax | ENT:StartTask( Table task ) |
Description | Called when a scripted NPC starts a new task from a Schedule. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=ENT.StartTask]ENT.StartTask [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- You must pass the task to the base class in order for it to be processed.
- The data table for type 2 tasks is the one supplied to AddTask.