Garry's Mod Wiki

ENTITY:ScheduleFinished

  ENTITY:ScheduleFinished()

Description

Called whenever a Lua schedule is finished or ENTITY:StartEngineSchedule is called. Clears out schedule and task data stored within NPC's table.

This is a helper function only available if your SENT is based on base_ai