Molotov projectile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 8: Line 8:


== Flags ==
== Flags ==
{{fl|1|Start Constrained|Prevents the model from moving.|only={{csgo}}}}
{{fl|1|Start Constrained|Prevents the model from moving.}}


== 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.}}


== See Also ==
== See Also ==
* {{ent|weapon_molotov}}
* {{ent|weapon_molotov}}
* {{ent|inferno}}
* {{ent|inferno}}

Revision as of 12:27, 24 June 2024

C++ Class hierarchy
CMolotovProjectile
CBaseCSGrenadeProjectile
CBaseGrenade
CBaseAnimating
CBaseEntity
C++ molotov_projectile.cpp

molotov_projectile is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. It's a projectile spawned when throwing weapon_molotov and spawns inferno where it breaks.


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]
Prevents the model from moving.

Inputs

InitializeSpawnFromWorld
Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.

See Also