Hegrenade projectile: Difference between revisions
Jump to navigation
Jump to search
Note:In
, this entity can not be picked up or used by a player. It will not explode until it receives the InitializeSpawnFromWorld input.
m (Fix formatting) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Ent not in fgd}} | |||
{{stub}} | {{stub}} | ||
{{this is a|point entity|game1=Counter-Strike: Global Offensive|name=hegrenade_projectile|game=Counter-Strike: Source}} | {{this is a|point 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}}. When spawned is already active. | A thrown [[weapon_hegrenade|frag grenade]] in the {{Counter-Strike series|4}}. When spawned is already active. | ||
{{note|In {{csgo}}, this entity can not be picked up or used by a player. It will not explode until it receives the InitializeSpawnFromWorld input.}} | {{note|In {{csgo}}, this entity can not be picked up or used by a player. It will not explode until it receives the InitializeSpawnFromWorld input.}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | |||
== Flags == | == Flags == | ||
{{fl|1|Start Constrained|Prevents the model from moving.}} | |||
== Inputs == | == Inputs == | ||
{{I|InitializeSpawnFromWorld|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|OnPlayerUse|Fires when a player [[use|+uses]] this weapon. ([[activator]] is the player)}} | |||
Revision as of 14:12, 5 November 2024
hegrenade_projectile
is a point entity available in Counter-Strike: Source and
Counter-Strike: Global Offensive.
A thrown frag grenade in the Counter-Strike series. When spawned is already active.


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
- 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)