Talk:Func tanktrain

From Valve Developer Community
Revision as of 07:16, 20 May 2025 by Nesciuse (talk | contribs) (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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)
Func_tanktrain inherits func_tracktrain, so actually, it probably works.
SirYodaJedi (talk) 18:22, 15 July 2024 (PDT)