trigger_impact

From Source Entities
Jump to navigation Jump to search

Code classes:

Trigger.png

trigger_impact is a brush entity present in all Source games. It pushes objects as if they were hit.

Keyvalues[edit | edit source]

Magnitude (Magnitude) <float>
The strength of the impact.
Noise (noise) <float>
How much randomness to add to the impact direction. 0.0 = no noise, 1.0 = random direction.
Viewkick (viewkick) <float>
If hitting a player, jostle their view by this much. Proportional to Magnitude.

Inputs[edit | edit source]

Impact
Hits the entities.
SetMagnitude <float>
Sets Magnitude.

Outputs[edit | edit source]

ImpactForce <vector>
Fires when the Impact input gets sent. Automatically puts the force that was applied (before noise is added, not accounting for mass) as the input parameter, unless overridden by the mapper.

See Also[edit | edit source]