UTIL ViewPunch: Difference between revisions
Jump to navigation
Jump to search
Note:This doesn't seem to be used directly. See ViewPunch instead.
(Created Page) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{wrongtitle|UTIL_ViewPunch}} | {{wrongtitle|UTIL_ViewPunch}} | ||
UTIL_ViewPunch is a UTIL provided in the Source code for punching the player's view. | UTIL_ViewPunch is a [[UTIL]] provided in the Source code for punching the player's view. | ||
{{Note|This doesn't seem to be used directly. See [[ViewPunch]] instead.}} | {{Note|This doesn't seem to be used directly. See [[ViewPunch]] instead.}} |
Revision as of 16:33, 12 April 2011
Template:Wrongtitle UTIL_ViewPunch is a UTIL provided in the Source code for punching the player's view.

Usage
//-----------------------------------------------------------------------------
// Purpose: Punches the view of all clients within radius.
// If radius is 0, punches all clients.
// Input : center - Center of punch, radius is measured from here.
// radius - Radius of effect, 0 punches all clients.
// bInAir - if this is false, then it will only punch players standing on the ground.
//-----------------------------------------------------------------------------
void UTIL_ViewPunch( const Vector ¢er, QAngle angPunch, float radius, bool bInAir )