Garry's Mod Wiki

ENTITY:RunEngineTask

ENTITY:RunEngineTask

boolean ENTITY:RunEngineTask( number taskID, number taskData )

Description

Called when an engine task is ran on the entity.

This hook only exists for ai type SENTs

Arguments

1 number taskID
The task ID, see ai_task.h
2 number taskData
The task data.

Returns

1 boolean
true to prevent default action

Special Pages


Wikis

?

Render Time: 64ms

DB GetPage 46
Generate Html 3
SaveChanges (1) 7
Render Body 0
Render Sidebar 6