Env physexplosion

From Valve Developer Community
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Env physexplosion.png

An entity that creates an explosion at its origin. If the no-damage spawnflag is set, the explosion won't be visible, but will apply force to any physics objects within its radius. If the force is set to be fairly low, this entity can be useful for gently 'nudging' physics objects, for instance to get lights swinging or floating debris moving.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<float> Amount of physics force applied by the explosion.
  • radius
<float> Clamp radius (0 = auto) If specified, the radius in which the explosion damages entities. If unspecified, the radius will be based on the magnitude.
  • targetentityname
<target_destination> If specified, the explosion will only affect the matching entity.

Flags

  • 1 : No Damage - Only Force

Inputs

Trigger the explosion.

Outputs

See Also