TriggerHurtclass

Deals damage to objects inside

objectComponentTriggerHurt
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.TriggerHurt : Sandbox.Component

Constructors1

Showing 1 constructors

Properties5

Showing 5 properties

public float Sandbox.TriggerHurt.Damage { get; set; }PUBLICGETSET

How much damage to apply

Returns:float

public Sandbox.TagSet Sandbox.TriggerHurt.DamageTags { get; set; }PUBLICGETSET

These tags will be applied to the emitted `Sandbox.DamageInfo`

Returns:TagSet

public Sandbox.TagSet Sandbox.TriggerHurt.Exclude { get; set; }PUBLICGETSET

If not empty, the target must not have one of these tags

Returns:TagSet

public Sandbox.TagSet Sandbox.TriggerHurt.Include { get; set; }PUBLICGETSET

If not empty, the target must have one of these tags

Returns:TagSet

public float Sandbox.TriggerHurt.Rate { get; set; }PUBLICGETSET

The delay between applying the damage

Returns:float

On this page