Garry's Mod Wiki

Revision Difference

ENTITY:OnTaskComplete#551961

<function name="OnTaskComplete" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description> Called from the engine when TaskComplete is called. This allows us to move onto the next task - even when TaskComplete was called from an engine side 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> </function>