Func tanktrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 7: Line 7:
{{note|Build your train so that the front of the train is facing down the X axis. When it spawns it will automatically rotate to face the next [[path_track]] on the path.}}
{{note|Build your train so that the front of the train is facing down the X axis. When it spawns it will automatically rotate to face the next [[path_track]] on the path.}}


==Availability==
{{in game|brush}} {{game-base}}
{{in code|class=class_c_func_tank_train.html CFuncTankTrain|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}}
{{in code|class=class_c_func_tank_train.html CFuncTankTrain|file=func__tank_8cpp-source.html hl2_dll\func_tank.cpp}}



Revision as of 12:08, 12 April 2008

Template:Wrongtitle Template:Base brush

Entity Description

A moving train that follows a path of path_track entities, shoots at the player, and can be killed.

Note.pngNote:Build your train so that the front of the train is facing down the X axis. When it spawns it will automatically rotate to face the next path_track on the path.

Template:In code

Keyvalues

<integer> Health.

Flags

Inputs

Outputs

Fired when the tank is killed.