Garry's Mod Wiki

Revision Difference

ENTITY:StartTask#514464

<function name="StartTask" parent="ENTITY" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called once on starting task.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="task" type="Task">The task to start, created by &lt;page&gt;ai_task.New&lt;/page&gt;.</arg>⤶ </args>⤶ </function>⤶ ⤶ <example>⤶ <description>How it is defined:</description>⤶ <code>⤶ function ENT:StartTask( task )⤶ task:Start( self.Entity )⤶ end⤶ </code>⤶ ⤶ </example>