CBaseMountedWeapon

From Source Entities
Jump to navigation Jump to search

CBaseMountedWeapon is a base class in L4d.pngL4d2-small.png for mounted gun entities.

Keyvalues[edit | edit source]

Max yaw (MaxYaw) <float>
How far in degrees the gun can be turned left or right.
Max pitch (MaxPitch) <float>
How far in degrees the gun can look down.
Min pitch (MinPitch) <float>
How far in degrees the gun can look up. Should be a negative number. Bug: 0 sets it to -30.

Outputs[edit | edit source]

OnFireStart
Fires when the user starts firing.
OnFireStop
Fires when the user stops firing.