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

DB GetPage 78
Generate Html 5
SaveChanges (1) 144
Render Body 0
Render Sidebar 15