S&box Wiki

Revision Difference

trigger_hurt#548311

<title>trigger_hurt</title>⤶ ⤶ # trigger_hurt⤶ ⤶ A trigger volume that damages entities that touch it.⤶ ⤶ In code, it is defined in the `TriggerHurt.cs` file under `addons\base\code\Entity\Hammer\Triggers`.⤶ ⤶ ## Keyvalues⤶ ⤶ **Name (`targetname`)** ⤶ ⤶ >* The name that other entities refer to this entity by.⤶ ⤶ **Tags (`tags`)** ⤶ ⤶ >* A list of general purpose tags for this entity, for interactions with other entities such as triggers.⤶ ⤶ **Damage (`damage`)**⤶ ⤶ >* Amount of damage to deal to touching entities per second.⤶ ⤶ **Activation Tags (`activationtags`)**⤶ ⤶ >* Entities with these tags can activate this trigger.⤶ ⤶ **Enabled (`enabled`)**⤶ ⤶ >* Whether this entity is enabled or not.⤶