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
SayTask
chevron_left
Classes
class
SayTask
Constructors
functions
SayTask
Properties
data_object
Message
data_object
Options
data_object
Sound
Methods
lock
OnStart
lock
OnUpdate
SayTask
Task that says a line through the speech layer and waits for it to finish. Takes either a sound event or a line of text, which uses the fallback sound.
class
Sandbox.Npcs.Tasks
.
account_tree
extends
BaseTask
Sandbox.Engine
build
Constructors
1
SayTask
(
sound
,
options
)
data_object
Properties
3
Message
string
The line of text to say, when the task was given one.
Options
SpeechOptions
How the line is said: its length, who to look at, its tags, priority and radius.
Sound
SoundEvent
The sound event to say, when the task was given one.
functions
Methods
2
OnStart
(
)
OnUpdate
(
)
TaskResult
Inheritance
BaseTask
SayTask
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.