# Sandbox.Npcs.Schedules.SchedulePriorities

Common schedule priority tiers. A running schedule is only preempted by one with a
strictly higher priority, so these tiers decide who interrupts whom. Authors are free
to use their own numbers - these are just sensible defaults.

- Kind: class
- Namespace: `Sandbox.Npcs.Schedules`
- Assembly: `Sandbox.Engine`
- Modifiers: static, abstract, sealed

## Fields

- [`Alert`](/api/Sandbox.Npcs.Schedules.SchedulePriorities/Alert): Reacting to something - searching a last-known position, investigating.
- [`Ambient`](/api/Sandbox.Npcs.Schedules.SchedulePriorities/Ambient): Ambient behaviour - wandering, patrolling, following, inspecting.
- [`Combat`](/api/Sandbox.Npcs.Schedules.SchedulePriorities/Combat): Actively fighting a target.
- [`Idle`](/api/Sandbox.Npcs.Schedules.SchedulePriorities/Idle): Doing nothing in particular. Yields to everything.
- [`Survival`](/api/Sandbox.Npcs.Schedules.SchedulePriorities/Survival): Self-preservation - fleeing, panicking. Overrides combat.
