trigger_speed

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

trigger_speed is a trigger entity available in No More Room in Hell No More Room in Hell.

Entity Description

The trigger_speed is a brush entity that modifies the speed of Survivors who are within it's bounds, multiplied by the value found in the KeyValues.

KeyValues

Name (targetname) <string>
The name that other entities refer to this entity by.
Parent (parentname) <string>
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Start Disabled (StartDisabled) <boolean>
Should we start off Disabled?
Global Entity Name (globalname) <string>
Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
Filter Name (filtername) <string>
Filter to use to see if activator triggers me. See filter_activator_name for more explanation.
Speed Modifier (speed) <float>
The speed of any players inside the trigger will be multiplied by this value.

Flags

Clients : [1]
Clients.
Disallow Bots : [4096]
Prevents Survivor Bots from triggering.

You probably shouldn't use the other Flags on this entity, many are inherited from the trigger_ base.

Inputs

Kill
Kill this entity.
Toggle
Toggles this trigger brush from it's current state. Enable -> Disable, and vice versa.
Enable
Enable this trigger brush.
Disable
Disable this trigger brush.
DisableAndEndTouch
Disable this trigger brush and forcibly ignore touching entities.

Outputs

OnEndTouch
Fired when a valid entity stops touching this trigger.
OnEndTouchAll
Fired when all valid entities stop touching this trigger.
OnStartTouch
Fired when a valid entity starts touching this trigger.
OnStartTouchAll
Fired when a valid entity starts touching this trigger, and no other entities are touching it. If there are any other entities touching the trigger when a new one begins to touch, only OnStartTouch will fire.
OnUser1 to OnUser4
Fired in response to the FireUser inputs.