Garry's Mod Wiki

Revision Difference

ENTITY:StartSchedule#551964

<function name="StartSchedule" parent="ENTITY" type="hook"> <ishook>yes</ishook> <description> Starts a schedule previously created by <page>ai_schedule.New</page>. Not to be confused with <page>ENTITY:StartEngineSchedule</page> or <page>NPC:SetSchedule</page> which start an Engine-based schedule. <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> <args> <arg name="sched" type="Schedule">Schedule to start.</arg> </args> </function>