Garry's Mod Wiki

Revision Difference

ENTITY:RunTask#551952

<function name="RunTask" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description> Called every think on running task. The actual task function should tell us when the task is finished. <note>This hook only exists for **ai** type SENTs</note>⤶ <note>This hook only exists for `ai` type [SENTs](Scripted_Entities).</note>⤶ </description> <realm>Server</realm> <args> <arg name="task" type="table">The task to run</arg> </args> </function>