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
DeathEvent
chevron_left
Classes
class
DeathEvent
Constructors
functions
DeathEvent
Properties
data_object
DamageInfo
data_object
Instigator
data_object
Ragdoll
data_object
Victim
DeathEvent
The death of a damageable, passed to Sandbox.Component.IDamageable.IEvents.OnDied(Sandbox.Component.IDamageable.DeathEvent) before the victim is destroyed.
class
Sandbox.Component.IDamageable
.
sealed
Sandbox.Engine
build
Constructors
1
DeathEvent
(
)
data_object
Properties
4
DamageInfo
DamageInfo
The hit that killed it.
Instigator
GameObject
Who is responsible for the kill, as the hit that did it settled.
Ragdoll
GameObject
The ragdoll the victim left behind, or null when it left none.
Victim
GameObject
What died.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.