Func tanktrain

From Valve Developer Community
Revision as of 10:02, 15 May 2022 by Popcorn (talk | contribs) (Template:in code -> Template:code class. Distinguish note with func_tracktrain.)
Jump to navigation Jump to search
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.

C++ In code, it is represented by theCFuncTankTrainclass, defined in thehl2_dll\tanktrain.cppfile.
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 the 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