Talk:Func tanktrain

From Valve Developer Community
Jump to: navigation, search

Code Bug

Icon-Bug.pngBug:This entity has a hard-coded damage filter for BLAST damage and is not even properly configured to take damage in the first place.

Even if you comment out the hacky damage filter on line 80, the Spawn() function sets m_takedamage to true (on line 73) which is an inappropriate value. The true, or 1, will be interpreted as DAMAGE_EVENTS_ONLY and since the only damage-related output it has is OnDeath this can never happen since it's health will never change until takedamage is set to DAMAGE_YES. Bit Mage (talk) 00:42, 3 June 2015 (UTC)

TeleportToPathTrack vs TeleportToPathNode

Portal 2 uses TeleportToPathNode, idk about any other games, but this page only lists TeleportToPathTrack. Coding Ethan (talk) 15:14, 21 February 2019 (UTC)

That's a func_tracktrain input. It shouldn't be on this page in the first place... Loudslappingsounds (talk) 12:38, 22 February 2019 (UTC)