Env physexplosion: Difference between revisions
Jump to navigation
Jump to search
(<chuckle> How can I argue with all-caps text?) |
|||
Line 1: | Line 1: | ||
{{wrongtitle|title=env_physexplosion}} | {{wrongtitle|title=env_physexplosion}} | ||
==Entity Description== | ==Entity Description== | ||
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== | |||
{{in game|point}} {{game-base}} | |||
{{in code|file=physobj.cpp|class=CPhysExplosion}} | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 17:37, 26 October 2005
Entity Description
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
- Template:Kv targetname
- Template:Kv parentname
- magnitude
- <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.