Schedule
The object returned by ai_schedule.New.
Methods
Schedule:AddTask( string taskname, any taskdata )
Adds a task to the schedule. See also Schedule:AddTaskEx if you wish to customize task start and run function names.
See also ENTITY:StartSchedule, NPC:StartEngineTask, and NPC:RunEngineTask.
Schedule:AddTaskEx( string start, string run, number data )
Adds a task to the schedule with completely custom function names.
See also Schedule:AddTask.