Molotov projectile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-info, see also, param fix)
Line 1: Line 1:
{{stub}}
{{stub}}
{{Ent not in fgd}}
{{Ent not in fgd}}
{{CD|CMolotovProjectile|molotov_projectile.cpp}}
{{CD|CMolotovProjectile|file1=molotov_projectile.cpp}}
{{this is a|point entity|game1=Counter-Strike: Global Offensive|name=molotov_projectile|game=Left 4 Dead series}} A thrown molotov.
{{this is a|point entity|game1=Counter-Strike: Global Offensive|name=molotov_projectile|game=Left 4 Dead series}} It's a projectile spawned when throwing {{ent|weapon_molotov}}.
 
{{Note|If it hits {{ent|prop_car_alarm}} or {{ent|prop_car_glass}} it deals 10 generic damage with thrower as attacker thus setting off potential alarm}}
__NOTOC__
== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
Line 12: Line 13:
== Inputs ==
== Inputs ==
{{IO|InitializeSpawnFromWorld|Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.|only={{csgo}}}}
{{IO|InitializeSpawnFromWorld|Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.|only={{csgo}}}}
== See Also ==
* {{ent|weapon_molotov_spawn}}
* {{ent|weapon_molotov}}
* {{ent|vomitjar_projectile}}
* {{ent|pipe_bomb_projectile}}

Revision as of 15:26, 23 June 2024

Stub

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

Icon-NotInFGD.png
This entity is not in the Left 4 DeadLeft 4 Dead 2 FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CMolotovProjectile
CBaseCSGrenadeProjectile
CBaseGrenade
CBaseAnimating
CBaseEntity
C++ molotov_projectile.cpp

molotov_projectile is a point entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series and Counter-Strike: Global Offensive Counter-Strike: Global Offensive. It's a projectile spawned when throwing weapon_molotov.

Note.pngNote:If it hits prop_car_alarm or prop_car_glass it deals 10 generic damage with thrower as attacker thus setting off potential alarm

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Flags

Start Constrained : [1] (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.

See Also