CObjectTeleporter
Jump to navigation
Jump to search
Overview[edit | edit source]
Placed and carried teleporters are instances of this class.
Source location : /game/server/tf/tf_obj_teleporter.h
Linked entity : obj_teleporter
Class Structure[edit | edit source]
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CBaseFlex
- CBaseCombatCharacter
- CBaseObject
- CObjectTeleporter
- CBaseObject
- CBaseCombatCharacter
- CBaseFlex
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps[edit | edit source]
Name | Type | Description | ||
---|---|---|---|---|
m_iState | Integer | What this teleporter is currently doing
| ||
m_flRechargeTime | Float | The timestamp for when this teleporter will be fully charged again after sending a player | ||
m_flCurrentRechargeDuration | Float | The amount of time it takes for this teleporter to recharge | ||
m_iTimesUsed | Integer | The amount of times this teleporter has teleported a player | ||
m_flYawToExit | Float | For a teleporter entrance, this is the yaw angle pointing directly at the exit teleporter. This value seems to be calculated strangely however, as angle 0 begins directly down on the y axis, and the angle increments clockwise rather than counter clockwise. | ||
m_bMatchBuilding | Boolean |
Entity DataMaps[edit | edit source]
Name | Type | Description | ||
---|---|---|---|---|
CObjectTeleporterTeleporterThink | ||||
CObjectTeleporterTeleporterTouch | ||||
m_iTeleportType | Integer | What type of teleporter this is
| ||
m_iszMatchingMapPlacedTeleporter |