Env viewpunch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 6: Line 6:


== Keyvalues ==
== Keyvalues ==
* {{kv targetname}}
* {{KV Targetname}}
* '''radius'''
* '''radius'''
:<float> The radius around this entity in which to affect players.
:<float> The radius around this entity in which to affect players.

Revision as of 19:58, 19 January 2009

Template:Wrongtitle Template:Base point ep1

Entity description

Applies a view punch according to the origin, radius, and angle.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • radius
<float> The radius around this entity in which to affect players.
  • punchangle
<angle> The punch angles to apply.

Flags

  • 1 : Punch all players (ignore radius)
  • 2 : Punch players in the air

Inputs

  • ViewPunch
Perform the view punch.

Outputs