Npc handgrenade: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Warning:
Warning:
 Note:Default model:
Note:Default model: 
 Note:Default touch behaviour CBaseGrenade::BounceTouch
Note:Default touch behaviour CBaseGrenade::BounceTouch
 Note:Default think CBaseGrenade::TumbleThink
Note:Default think CBaseGrenade::TumbleThink
		
	
| No edit summary |  (try harding removing stub) | ||
| Line 1: | Line 1: | ||
| {{Ent not in fgd}} | {{Ent not in fgd}} | ||
| {{CD|CBaseGrenadeTimed|file1=1}} | {{CD|CBaseGrenadeTimed|file1=1}} | ||
| {{this is a|[[entity]]|name= | {{this is a|[[entity]]|name=npc_handgrenade|game=hls|game1=Half-Life 2|game2=Portal series|game3=Team Fortress 2}} Grenade that explodes immediately after it is spawned. | ||
| {{note|Default model: <code>models/weapons/w_grenade.mdl</code>}} | |||
| {{note|Default touch behaviour [https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/shared/basegrenade_shared.cpp#L352 CBaseGrenade::BounceTouch]}} | |||
| {{note|Default think [https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/shared/basegrenade_shared.cpp#L453 CBaseGrenade::TumbleThink]}} | |||
| == See Also == | |||
| * {{ent|grenade}} | |||
Revision as of 14:30, 3 August 2024
|  Class hierarchy | 
|---|
| CBaseGrenadeTimed | 
|  basegrenade_timed.cpp | 
npc_handgrenade  is an   entity  available in  Half-Life: Source,
 Half-Life: Source,  Half-Life 2,
 Half-Life 2,  Portal series, and
 Portal series, and  Team Fortress 2.
 Team Fortress 2.
 Warning:
Warning:
- The {{{game}}}parameter is inconsistent with the name defined by the {{hls}} template. This can most likely be fixed by setting the value of the{{{game}}}parameter toHalf-Life: Source.
 If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
Grenade that explodes immediately after it is spawned.
 Note:Default model:
Note:Default model: models/weapons/w_grenade.mdl Note:Default touch behaviour CBaseGrenade::BounceTouch
Note:Default touch behaviour CBaseGrenade::BounceTouch Note:Default think CBaseGrenade::TumbleThink
Note:Default think CBaseGrenade::TumbleThink