Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 142ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 110
Render Body 0
Render Sidebar 20