Api Sandbox TriggerHurt
class

TriggerHurt

public sealed class TriggerHurt : Component

Deals damage to objects inside

Constructors

TriggerHurt()

Properties

Name Type Description
DamageTags TagSet These tags will be applied to the emitted DamageInfo
Damage Single How much damage to apply
Rate Single The delay between applying the damage
Include TagSet If not empty, the target must have one of these tags
Exclude TagSet If not empty, the target must not have one of these tags
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.TriggerHurt