# Sandbox.Npcs.Schedules.BaseSchedule

A schedule -- can be understood as a way to execute a sequence of tasks

- Kind: class
- Namespace: `Sandbox.Npcs.Schedules`
- Assembly: `Sandbox.Engine`
- Modifiers: abstract

## Properties

- [`Interruptible`](/api/Sandbox.Npcs.Schedules.BaseSchedule/Interruptible): Whether something the NPC newly notices mid-run, such as a hostile coming into view, a threat, a disturbance or a player pushing past, makes it re-select so a higher-priority schedule can take over. True by default, so ambient schedules yield to threats for free; combat and flee schedules turn it off to stay focused.
- [`Npc`](/api/Sandbox.Npcs.Schedules.BaseSchedule/Npc): The NPC running this schedule.
- [`Priority`](/api/Sandbox.Npcs.Schedules.BaseSchedule/Priority): Selection priority. A running schedule is only preempted by one with a strictly higher priority. Use [Sandbox.Npcs.Schedules.SchedulePriorities](/api/Sandbox.Npcs.Schedules.SchedulePriorities) for the common tiers.
