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: 84ms

DB GetPage 53
Generate Html 4
SaveChanges (1) 16
Render Body 0
Render Sidebar 8