Func tanktrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Explain in no uncertain terms that this entity class is broken and doesn't work.)
m (Add internal name of Helath keyval key)
Line 7: Line 7:


== Keyvalues ==
== Keyvalues ==
{{KV|Health|integer|Health of the tank.}}
{{KV|Health|intn=health|integer|Health of the tank.}}
{{KV BaseTrain}}
{{KV BaseTrain}}



Revision as of 11:06, 17 March 2021

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.

Template:In code

Icon-Bug.pngBug: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 talk page)  [todo tested in ?]

Keyvalues

Health (health) <integer>
Health of the tank.

Template:KV BaseTrain

Flags

Template:Fl BaseTrain

Inputs

Template:I BaseTrain

Outputs

OnDeath
Fired when the tank is killed.
Icon-Bug.pngBug:This entity can never die without code modification. (See talk page)  [todo tested in ?]

Template:O BaseTrain