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 22: Line 22:


== Outputs ==
== Outputs ==
* {{o targetname}}
* {{O Targetname}}

Revision as of 20:10, 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