Source2Toolkit
SchemaEntityClasses

CFuncTrain

CFuncTrain

Inheritance: CBasePlatTrain

Fields

  • m_hCurrentTarget CHandle<CBaseEntity>
  • m_activated bool
  • m_hEnemy CHandle<CBaseEntity>
  • m_flBlockDamage float
  • m_flNextBlockTime float
  • m_iszLastTarget CUtlSymbolLarge
  • m_flSpeed float

Methods

CFuncTrain* New(className)

Parameters
  • className const char*

CFuncTrain* FromIndex(iIndex)

Parameters
  • iIndex int

CFuncTrain* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CFuncTrain> GetHandle()

On this page