s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
SchedulePriorities
chevron_left
Classes
class
SchedulePriorities
Static Fields
crop_din
Alert
crop_din
Ambient
crop_din
Combat
crop_din
Idle
crop_din
Survival
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.
class
Sandbox.Npcs.Schedules
.
static
sealed
abstract
Sandbox.Engine
crop_din
Static Fields
5
Alert
int
Reacting to something - searching a last-known position, investigating.
Ambient
int
Ambient behaviour - wandering, patrolling, following, inspecting.
Combat
int
Actively fighting a target.
Idle
int
Doing nothing in particular. Yields to everything.
Survival
int
Self-preservation - fleeing, panicking. Overrides combat.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.