s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
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
FleeSchedule
chevron_left
Classes
class
FleeSchedule
Constructors
functions
FleeSchedule
Properties
data_object
Interruptible
data_object
PanicLevel
data_object
Priority
data_object
Source
Methods
lock
OnStart
lock
ShouldCancel
FleeSchedule
Sprints away from the source, with speed and distance set by panic.
class
Sandbox.Npcs.Schedules
.
account_tree
extends
BaseSchedule
Sandbox.Engine
build
Constructors
1
FleeSchedule
(
)
data_object
Properties
4
Interruptible
bool
PanicLevel
float
0–1 panic intensity. Higher values mean faster speed and longer flee distance.
Priority
int
Source
GameObject
What the NPC runs away from.
functions
Methods
2
OnStart
(
)
ShouldCancel
(
)
bool
Inheritance
BaseSchedule
FleeSchedule
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.