Garry's Mod Wiki

Revision Difference

ENTITY:SetTask#551962

<function name="SetTask" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description>Sets the current task. <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 set.</arg> </args> </function>