Npc sniper
Jump to navigation
Jump to search
Entity Description
The sniper does not actually have its own model - rather, it uses a Combine soldier model frozen in ragdoll position. When grenaded, the model is unfrozen and turns into an actual ragdoll.
Keyvalues
- radius
- <integer> Patience Radius
- misses
- <integer> Initial Misses
- beambrightness
- <integer> Beam Brightness (0 to 255)
- shielddistance
- <float> Bullet shield distance
- shieldradius
- <float> Bullet shield radius
Flags
- 65536 : Hidden
- 131072 : Laser Viewcone
- 262144 : No Corpse
- 524288 : Start Disabled
Inputs
- EnableSniper
- Enable Shooting
- DisableSniper
- Disable Shooting
- SetDecoyRadius <integer>
- Set Decoy Radius
- SweepTarget <string>
- Sweep a Target
- SweepTargetHighestPriority <string>
- Drop everything and sweep this target!
- SweepGroupRandomly <string>
- Randomly Sweep a Group
Outputs
See Also
- info_snipertarget - give the sniper something to shoot at.