S&box Wiki

Revision Difference

trigger_once#548309

<title>trigger_once</title>⤶ ⤶ # trigger_once⤶ ⤶ A simple trigger volume that fires once and then removes itself.⤶ ⤶ In code, it is defined in the `TriggerOnce.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.⤶ ⤶ **Activation Tags (`activationtags`)**⤶ ⤶ >* Entities with these tags can activate this trigger.⤶ ⤶ **Enabled (`enabled`)**⤶ ⤶ >* Whether this entity is enabled or not.⤶