tf_projectile_spelltransposeteleport

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CTFProjectile_SpellTransposeTeleport
CTFProjectile_SpellBats
CTFProjectile_Jar
CTFGrenadePipebombProjectile
CTFWeaponBaseGrenadeProj
CBaseGrenade
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
tf_weapon_spellbook.cpp

tf_projectile_spelltransposeteleport is a point entity available in Team Fortress 2 Team Fortress 2.

Shadow leap spell.

It stores up to 5 vectors of its position every 3.3 ticks (in practice it would just be 3 ticks due to rounding). Upon the explosion of this projectile, the game will give 30 health to the thrower and then teleport the thrower to the last projectile position that counts as a hit.