S&box Wiki

Revision Difference

push_volume#548313

<title>push_volume</title>⤶ ⤶ # push_volume⤶ ⤶ A volume that pushes entities that are touching it.⤶ ⤶ In code, it is defined in the `PushVolumeEntity.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.⤶ ⤶ **Force (`force`)** ⤶ ⤶ >* How strong should we be pushing other entities.⤶ ⤶ ⤶ **Force Direction (`forcedirection`)**⤶ ⤶ >* Direction of the force.⤶ ⤶ ⤶ **Ony Push On Enter (`onlypushonenter`)**⤶ ⤶ >* If set, applies 1 second worth of force only when an entity enters the trigger.⤶ ⤶ ⤶ **Activation Tags (`activationtags`)**⤶ ⤶ >* Entities with these tags can activate this trigger.⤶ ⤶ ⤶ **Enabled (`enabled`)**⤶ ⤶ >* Whether this entity is enabled or not.⤶