Garry's Mod Wiki

ENTITY:EngineScheduleFinish

  ENTITY:EngineScheduleFinish()

Description

Called whenever an engine schedule is finished; either the last task within the engine schedule has been finished or the schedule has been interrupted by an interrupt condition.

This hook only exists for ai type SENTs.
This hook isn't called when the engine schedule is failed, the schedule is cleared with NPC:ClearSchedule or NPC:SetSchedule has been called.