Source2Toolkit
SchemaEntityClasses

CMolotovProjectile

CMolotovProjectile

Inheritance: CBaseCSGrenadeProjectile

Fields

  • m_bIsIncGrenade bool
  • m_bDetonated bool
  • m_stillTimer IntervalTimer

Methods

CMolotovProjectile* EmitGrenade(vecPosition, angAngle, vecVelocity, pOwner, nItemDefIndex)

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

Parameters
  • vecPosition const Vector&
  • angAngle const QAngle&
  • vecVelocity const Vector&
  • pOwner CBaseEntity*
  • nItemDefIndex uint32_t

CMolotovProjectile* New(className)

Parameters
  • className const char*

CMolotovProjectile* FromIndex(iIndex)

Parameters
  • iIndex int

CMolotovProjectile* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CMolotovProjectile> GetHandle()

On this page