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.
(Cleanup) |
No edit summary |
||
Line 3: | Line 3: | ||
{{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.}} | ||
{{in code|class=class_c_func_tank_train.html CFuncTankTrain|file= | {{in code|class=class_c_func_tank_train.html CFuncTankTrain|file=tanktrain_8cpp-source.html hl2_dll\tanktrain.cpp}} | ||
== Keyvalues == | == Keyvalues == |
Revision as of 14:23, 2 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.

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