SchemaEntityClasses
CFuncTrackTrain
CFuncTrackTrain
Inheritance: CBaseModelEntity
Fields
- m_ppath CHandle<CPathTrack>
- m_length float
- m_vPosPrev Vector
- m_angPrev QAngle
- m_flSpeed float
- m_controlMins Vector
- m_controlMaxs Vector
- m_lastBlockPos Vector
- m_lastBlockTick int32_t
- m_flVolume float
- m_flBank float
- m_oldSpeed float
- m_flBlockDamage float
- m_height float
- m_maxSpeed float
- m_dir float
- m_iszSoundMove CGameSoundEventName
- m_iszSoundMovePing CGameSoundEventName
- m_iszSoundStart CGameSoundEventName
- m_iszSoundStop CGameSoundEventName
- m_strPathTarget CGameSoundEventName
- m_flMoveSoundMinDuration float
- m_flMoveSoundMaxDuration float
- m_flNextMoveSoundTime float
- m_flMoveSoundMinPitch float
- m_flMoveSoundMaxPitch float
- m_eOrientationType TrainOrientationType_t
- m_eVelocityType TrainVelocityType_t
- m_OnStart CEntityIOOutput
- m_OnNext CEntityIOOutput
- m_OnArrivedAtDestinationNode CEntityIOOutput
- m_bManualSpeedChanges bool
- m_flDesiredSpeed float
- m_flSpeedChangeTime float
- m_flAccelSpeed float
- m_flDecelSpeed float
- m_bAccelToSpeed bool
- m_flNextMPSoundTime float
Methods
CFuncTrackTrain* New(className)
Parameters
- className const char*
CFuncTrackTrain* FromIndex(iIndex)
Parameters
- iIndex int
CFuncTrackTrain* FromIndex(index)
Parameters
- index CEntityIndex