flashbang_projectile

From Valve Developer Community
Jump to: navigation, search
Info.png
This entity is not in the Counter-Strike: Source FGD by default.
See below for instructions on making it available.
Class hierarchy
CFlashbangProjectile
CBaseCSGrenadeProjectile
CBaseGrenade
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
flashbang_projectile.cpp

flashbang_projectile is a point entity available in Counter-Strike: Source Counter-Strike: Source and Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity Description

Thrown version of weapon_flashbang.

When this entity is created using ent_create flashbang_projectile, it will...

  • Counter-Strike: Source do nothing.
  • Counter-Strike: Global Offensive explode after a fixed duration, as if it was thrown by a player (unless it receives the SetTimer input).

Inputs

SetTimer <float> (only in Counter-Strike: Global Offensive)
Sets the fuse time of this entity until it explodes.