This article's documentation is for anything that uses the Source engine. Click here for more information.

Grenade: 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.)
mNo edit summary
Line 1: Line 1:
{{stub}}
{{stub}}
{{CD|CBaseGrenade|file1=basegrenade_shared.cpp}}
{{CD|CBaseGrenade|file1=basegrenade_shared.cpp}}
{{this is a|point entity|name=grenade}} It serves as the basis for Grenades in all source games.
{{this is a|point entity|name=grenade}} It serves as the basis for grenades in all Source games.


{{note|If you want to add a frag grenade pickup to your level, you may want to use [[weapon_frag]]. If you want the actual exploding grenade entity, you may be looking for [[npc_grenade_frag]]}}
{{note|If you want to add a frag grenade pickup to your level, you may want to use [[weapon_frag]]. If you want the actual exploding grenade entity, you may be looking for [[npc_grenade_frag]]}}

Revision as of 02:06, 28 November 2024

Stub

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

C++ Class hierarchy
CBaseGrenade
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ basegrenade_shared.cpp

grenade is a point entity available in all Source Source games. It serves as the basis for grenades in all Source games.

Note.pngNote:If you want to add a frag grenade pickup to your level, you may want to use weapon_frag. If you want the actual exploding grenade entity, you may be looking for npc_grenade_frag