Env viewpunch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (minoro)
Line 1: Line 1:
{{wrongtitle|title=env_viewpunch}}
{{wrongtitle|title=env_viewpunch}}
==Entity Description==
 
Applies viewpunch provided an origin, radius, and angle.
== Entity description ==
==Keyvalues==
Applies a view punch according to the origin, radius, and angle.
 
== Keyvalues ==
* {{kv targetname}}
* {{kv targetname}}
* '''radius'''
* '''radius'''
Line 8: Line 10:
* '''punchangle'''
* '''punchangle'''
:<angle> The punch angles to apply.
:<angle> The punch angles to apply.
==Flags==
 
== Flags ==
* 1 : Punch all players (ignore radius)
* 1 : Punch all players (ignore radius)
* 2 : Punch players in the air
* 2 : Punch players in the air
==Inputs==
 
== Inputs ==
* {{i targetname}}
* {{i targetname}}
* '''ViewPunch'''
* '''ViewPunch'''
: Perform the view punch.
: Perform the view punch.
==Outputs==
 
== Outputs ==
* {{o targetname}}
* {{o targetname}}
[[Category:Half-Life 2: Episode One Entities]]
[[Category:Half-Life 2: Episode One Entities]]

Revision as of 04:21, 1 February 2008

Template:Wrongtitle

Entity description

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

Keyvalues

<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

Perform the view punch.

Outputs