Talk:Func tanktrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Documenting Bug)
 
Line 3: Line 3:
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.
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.
[[User:BitMage|Bit Mage]] ([[User talk:BitMage|talk]]) 00:42, 3 June 2015 (UTC)
[[User:BitMage|Bit Mage]] ([[User talk:BitMage|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. [[User:Coding Ethan|Coding Ethan]] ([[User talk:Coding Ethan|talk]]) 15:14, 21 February 2019 (UTC)

Revision as of 08:14, 21 February 2019

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.  [todo tested in ?]

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)