Func tanktrain: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎Outputs: Missing outputs)
Line 17: Line 17:
== Outputs ==
== Outputs ==
{{IO|OnDeath|Fired when the tank is killed.}}
{{IO|OnDeath|Fired when the tank is killed.}}
{{O BaseTrain}}

Revision as of 02:58, 13 August 2011

Template:Base brush 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