Garry's Mod Wiki

Revision Difference

ENTITY:SetTask#525268

<function name="SetTask" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description>Sets the current task.</description>⤶ <description>Sets the current task.<note>This hook only exists for **ai** type SENTs</note>⤶ </description>⤶ <realm>Server</realm> <args> <arg name="task" type="table">The task to set.</arg> </args> </function>