Hegrenade projectile: Difference between revisions
Jump to navigation
Jump to search
Note:This entity cannot be picked up or used by a player. In
it can explode, but not until it receives the InitializeSpawnFromWorld input.
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Ent not in fgd}} | {{Ent not in fgd}} | ||
{{stub}} | {{stub}} | ||
{{this is a| | {{this is a|model entity|game1=Counter-Strike: Global Offensive|name=hegrenade_projectile|game=Counter-Strike: Source}} | ||
A thrown [[weapon_hegrenade|frag grenade]] in the {{Counter-Strike series|4}} | A thrown [[weapon_hegrenade|frag grenade]] in the {{Counter-Strike series|4}}. | ||
{{note| | {{note|This entity cannot be picked up or used by a player. In {{csgo}} it can explode, but not until it receives the InitializeSpawnFromWorld input.}} | ||
== Keyvalues == | == Keyvalues == | ||
Line 13: | Line 13: | ||
== Inputs == | == Inputs == | ||
{{I|InitializeSpawnFromWorld|Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.}} | {{I|InitializeSpawnFromWorld|only={{csgo}}|Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.}} | ||
== Outputs == | == Outputs == | ||
{{O|OnPlayerPickup|Fires when a player picks up this weapon. ([[activator]] is the player)}} | {{O|OnPlayerPickup|Fires when a player picks up this weapon. ([[activator]] is the player)}} | ||
{{O|OnPlayerUse|Fires when a player [[use|+uses]] this weapon. ([[activator]] is the player)}} | {{O|OnPlayerUse|Fires when a player [[use|+uses]] this weapon. ([[activator]] is the player)}} |
Latest revision as of 10:18, 23 May 2025
hegrenade_projectile
is a model entity available in Counter-Strike: Source and
Counter-Strike: Global Offensive.
A thrown frag grenade in the Counter-Strike series.


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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 (only in
)
- Activates the grenade, causing it to explode after a few seconds as if it was thrown by a player.
Outputs
- OnPlayerPickup
- Fires when a player picks up this weapon. (activator is the player)