Garry's Mod Wiki

Revision Difference

ENTITY:ScheduleFinished#560099

<function name="ScheduleFinished" parent="ENTITY" type="hook"> <description>Called whenever a schedule is finished. <note>This hook only exists for `ai` type [SENTs](Scripted_Entities).</note>⤶ <description>Called whenever a Lua schedule is finished or an engine schedule is started. Clears out schedule and task data stored within NPC's table. <note>This is a helper function only available if your SENT is based on `base_ai`</note>⤶ </description> <realm>Server</realm> </function>