Entity systemClasses

CHEGrenadeProjectile

Schema class CHEGrenadeProjectile, derived from CBaseCSGrenadeProjectile.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CHEGrenadeProjectile.h

Inherits CBaseCSGrenadeProjectile

Methods

EmitGrenade

static CHEGrenadeProjectile* EmitGrenade(const Vector& vecPosition, const QAngle& angAngle, const Vector& vecVelocity, CBaseEntity* pOwner, uint32_t nItemDefIndex, HookChain eChain = HookChain::Run);

Spawns a live grenade of this type. Ported from SwiftlyS2.

ParameterTypeDefault
vecPositionconst Vector&
angAngleconst QAngle&
vecVelocityconst Vector&
pOwnerCBaseEntity*
nItemDefIndexuint32_t
eChainHookChainHookChain::Run

On this page