Func tanktrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Outputs: Missing outputs)
No edit summary
Line 1: Line 1:
{{base brush|func_tanktrain}} It is a moving train that follows a path of [[path_track]] entities, shoots at the player, and can be killed.
{{base brush|func_tanktrain}}  
 
==Entity description==
It is a moving train that follows a path of [[path_track]] entities, shoots at the player, and can be killed.


{{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.}}

Revision as of 11:09, 8 May 2012

Template:Base brush

Entity description

It is 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

Health ([todo internal name (i)]) <integer>
Health of the tank.

Template:KV BaseTrain

Flags

Template:Fl BaseTrain

Inputs

Template:I BaseTrain

Outputs

OnDeath
Fired when the tank is killed.

Template:O BaseTrain