Func tanktrain: Difference between revisions
Jump to navigation
Jump to search
m (Add internal name of Helath keyval key) |
m (Template:in code -> Template:code class. Distinguish note with func_tracktrain.) |
||
Line 1: | Line 1: | ||
{{distinguish|func_tracktrain}} | |||
{{base brush|func_tanktrain}} 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. | {{base brush|func_tanktrain}} 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 | It was meant to be used in combination with a {{ent|tanktrain_ai}} entity. | ||
{{ | {{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. | :{{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]].}} | ||
== Keyvalues == | == Keyvalues == |
Revision as of 10:02, 15 May 2022
Not to be confused with func_tracktrain.
Template:Base brush 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.
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 ?]