Func tanktrain: Difference between revisions
Jump to navigation
Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
{{code class|CFuncTankTrain|hl2_dll\tanktrain.cpp}} | {{code class|CFuncTankTrain|hl2_dll\tanktrain.cpp}} | ||
:{{bug|This entity has a hard-coded damage filter and will never die as is not properly configured to take damage in the first place. See the [[Talk:{{PAGENAME}}|talk page]].}} | :{{bug|This entity has a hard-coded damage filter and will never die as is not properly configured to take damage in the first place. See the [[Talk:{{PAGENAME}}|talk page]].}} | ||
:{{note|This entity inherits [[func_tracktrain|CFuncTrackTrain]]. Despite this, this entity exists in games that lack [[func_tracktrain]] (ex: {{css}} {{dods}} {{tf2}}), but probably doesn't work "properly" in those games{{confirm}}.}} | |||
== Keyvalues == | == Keyvalues == |
Revision as of 18:13, 15 July 2024
Not to be confused with func_tracktrain.
func_tanktrain
is a brush entity available in all Source games. It was meant to be a train that follows a target entity (such as the player). It was never finished and doesn't work correctly.
It was meant to be used in combination with a tanktrain_ai entity.
Note:This entity inherits CFuncTrackTrain. Despite this, this entity exists in games that lack func_tracktrain (ex:
), but probably doesn't work "properly" in those games[confirm].
Keyvalues
- Health (health) <integer>
- Health of the tank.
Flags
Inputs
Outputs
- OnDeath
- Fired when the tank is killed.
Bug:This entity can never die without code modification. (See talk page) [todo tested in ?]