Garry's Mod Wiki

Revision Difference

ENTITY:StartEngineTask#514468

<function name="StartEngineTask" parent="ENTITY" type="hook">⤶ <ishook>yes</ishook>⤶ <description>⤶ Called when an engine task has been started on the entity.⤶ ⤶ <note>This hook only exists for **ai** type SENTs</note>⤶ </description>⤶ <realm>Server</realm>⤶ <predicted>No</predicted>⤶ <args>⤶ <arg name="taskID" type="number">Task ID to start, see [ai_task.h](https://github.com/ValveSoftware/source-sdk-2013/blob/55ed12f8d1eb6887d348be03aee5573d44177ffb/mp/src/game/server/ai_task.h#L89-L502)</arg>⤶ <arg name="TaskData" type="number">Task data</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">true to stop default action</ret>⤶ </rets>⤶ </function>⤶ ⤶