Garry's Mod Wiki

ENTITY:OnTaskComplete

  ENTITY:OnTaskComplete()

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.

This hook only exists for ai type SENTs