This article's documentation is for anything that uses the Source engine. Click here for more information.

Func tanktrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{distinguish|func_tracktrain}}
{{distinguish|func_tracktrain}}
{{entity|func_tanktrain|type=e2}} 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.
{{this is a|e2|name=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 {{ent|tanktrain_ai}} entity.  
It was meant to be used in combination with a {{ent|tanktrain_ai}} entity.  

Revision as of 10:58, 4 January 2024

Not to be confused with func_tracktrain.

func_tanktrain is an e2 available in all Source 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.

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