molotov_projectile

From Valve Developer Community
Jump to: navigation, search

Stub

This article or section is a stub. You can help by adding to it.

Info.png
This entity is not in the Left 4 DeadLeft 4 Dead 2 FGD by default .
See below for instructions on making it available.
class hierarchy
CMolotovProjectile
CBaseCSGrenadeProjectile
CBaseGrenade
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

molotov_projectile is a point entity available in the following Source Source games or engine branches:
Left 4 Dead series Left 4 Dead series and Counter-Strike: Global Offensive Counter-Strike: Global Offensive. A thrown molotov.

Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Flags

  •  [1] : Start Constrained (only in Counter-Strike: Global Offensive)
       Prevents the model from moving.

Inputs

InitializeSpawnFromWorld  (only in Counter-Strike: Global Offensive)
Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.