Func tanktrain: Difference between revisions
Jump to navigation
Jump to search
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.
m (Robot: fixing template case.) |
(Cleanup) |
||
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. | ||
{{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.}} | ||
Line 11: | Line 5: | ||
{{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}} | ||
==Keyvalues== | == Keyvalues == | ||
{{KV|Health|integer|Health of the tank.}} | |||
{{KV BaseTrain}} | |||
==Flags== | == Flags == | ||
{{Fl BaseTrain}} | |||
==Inputs== | == Inputs == | ||
{{I BaseTrain}} | |||
==Outputs== | == Outputs == | ||
{{IO|OnDeath|Fired when the tank is killed.}} | |||
Revision as of 10:39, 25 July 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.

Keyvalues
Flags
Inputs
Outputs
- OnDeath
- Fired when the tank is killed.