s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
RadiusDamage
chevron_left
Components
class
RadiusDamage
search
Constructors
functions
RadiusDamage
Properties
data_object
Attacker
data_object
DamageAmount
data_object
DamageOnEnabled
data_object
DamageTags
data_object
Occlusion
data_object
PhysicsForceScale
data_object
Radius
Methods
functions
Apply
Static Methods
functions
ApplyDamage
RadiusDamage
Applies damage in a radius, with physics force, and optional occlusion
class
Sandbox
.
account_tree
extends
Component
sealed
Sandbox.Engine
build
Constructors
1
RadiusDamage
(
)
data_object
Properties
7
Attacker
GameObject
Who should we credit with this attack?
DamageAmount
float
The amount of damage inflicted
DamageOnEnabled
bool
If enabled we'll apply damage once as soon as enabled
DamageTags
TagSet
Tags to apply to the damage
Occlusion
bool
Should the world shield victims from damage?
PhysicsForceScale
float
How much physics force should be applied on explosion?
Radius
float
The radius of the damage area.
functions
Methods
1
Apply
(
)
Apply the damage now
functions
Static Methods
1
ApplyDamage
(
sphere
,
damage
,
physicsForce
,
ignore
,
occlusion
)
Inheritance
Component
RadiusDamage
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.