Trigger impact: Difference between revisions
Jump to navigation
Jump to search
(bot-assisted) |
mNo edit summary |
||
Line 17: | Line 17: | ||
*'''viewkick''' | *'''viewkick''' | ||
:<float> The amount to kick player's view if the player is in the trigger. Proportional to magnitude (0-1). | :<float> The amount to kick player's view if the player is in the trigger. Proportional to magnitude (0-1). | ||
==Flags== | |||
None. | |||
==Inputs== | ==Inputs== | ||
Line 30: | Line 33: | ||
:Fired after an impact. The parameter passed along is the force of the impact that was generated. | :Fired after an impact. The parameter passed along is the force of the impact that was generated. | ||
[[Category:Entities]] | [[Category:Entities]][[Category:Brush Entities]] |
Revision as of 15:39, 6 March 2006
Entity Description
A trigger volume that can be told to push all physics objects that are inside of it in the direction specified by this trigger's angles. Also outputs the force at the time of impact for anyone else that wants to use it.
Availability
Template:In game Template:Game-base Template:In code
Keyvalues
- Template:Kv targetname
- Template:Kv angles
- Magnitude
- <float> The strength of the impact. Negative values reverse the direction.
- noise
- <float> The amount of directional noise (0-1). 0 = no noise, 1 = random direction.
- viewkick
- <float> The amount to kick player's view if the player is in the trigger. Proportional to magnitude (0-1).
Flags
None.
Inputs
- Template:I targetname
- Impact <float>
- Fire the impact, pushing all entities within the volume.
- SetMagnitude <float>
- Set the magnitude of the impact.
Outputs
- Template:O targetname
- ImpactForce <string>
- Fired after an impact. The parameter passed along is the force of the impact that was generated.